summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Clarify mail-header address parsing doc stringsLars Ingebrigtsen2022-07-302-4/+17
| | | | | | * lisp/mail/mail-parse.el (mail-header-parse-address-lax): * lisp/mail/ietf-drums.el (ietf-drums-parse-address): Clarify what these functions do (bug#56824).
* Fix outline-minor-mode-use-buttons defcustom typeLars Ingebrigtsen2022-07-301-1/+1
| | | | * lisp/outline.el (outline-minor-mode-use-buttons): Fix wrong type.
* buffer-match-p doc string clarificationLars Ingebrigtsen2022-07-301-1/+2
| | | | | * lisp/subr.el (buffer-match-p): Actually say that nil is a valid value.
* Adjust outline--use-buttons-p to buffer-match-p changeLars Ingebrigtsen2022-07-301-6/+3
| | | | | * lisp/outline.el (outline-minor-mode-use-buttons): Adjust doc string. (outline--use-buttons-p): No longer any need to special-case t/nil.
* * lisp/apropos.el (apropos-documentation): Simplify.Stefan Kangas2022-07-301-35/+33
|
* Avoid leaving temp buffers in bib-mode and refbibStefan Kangas2022-07-302-12/+12
| | | | | | * lisp/textmodes/bib-mode.el (bib-capitalize-title): * lisp/textmodes/refbib.el (r2b-capitalize-title): Use with-temp-buffer.
* Prefer defvar-keymap in dns-mode-mapStefan Kangas2022-07-301-17/+9
| | | | * lisp/textmodes/dns-mode.el (dns-mode-map): Prefer defvar-keymap.
* Prefer defvar-keymap in nroff-mode-mapStefan Kangas2022-07-301-14/+9
| | | | * lisp/textmodes/nroff-mode.el (nroff-mode-map): Prefer defvar-keymap.
* Fix namespace use in bib-mode.elStefan Kangas2022-07-301-33/+35
| | | | | | | | | * lisp/textmodes/bib-mode.el (bib-unread-file, bib-add) (bib-return-key, bib-mark, bib-unread): Rename from 'unread-bib-file', 'addbib', 'return-key-bib', 'mark-bib', and 'unread-bib' respectively. Maintain old names as obsolete aliases and update uses. (bib-mode-map): Prefer defvar-keymap.
* ; * lisp/emacs-lisp/regi.el: Delete incorrect "last modified" comment.Stefan Kangas2022-07-301-1/+0
|
* ; * lisp/ffap.el: Comment cleanup.Stefan Kangas2022-07-301-34/+17
|
* Make ffap-newfile-prompt obsoleteStefan Kangas2022-07-301-3/+2
| | | | | * lisp/ffap.el (ffap-newfile-prompt): Obsolete in favor of 'find-file-not-found-functions'.
* * lisp/ffap.el (ffap-url-regexp): Add gemini.Stefan Kangas2022-07-301-1/+1
|
* Make outline-view-change-hook obsoleteStefan Kangas2022-07-301-1/+1
| | | | | | According to a comment, this hook "Seems only used by lazy-lock. I.e. obsolete." But lazy-lock has been deleted. * lisp/outline.el (outline-view-change-hook): Make obsolete.
* Merge from origin/emacs-28Stefan Kangas2022-07-301-3/+7
|\ | | | | | | | | e0f54c62ec CC Mode: fontify variables/functions after line comments e... 2c6a94c5b8 ; Correct the meaning of "cf." in tips.texi
| * CC Mode: fontify variables/functions after line comments ending in spacesAlan Mackenzie2022-07-291-3/+7
| | | | | | | | | | * lisp/progmodes/cc-engine.el (c-forward-comment-minus-1): Take account of spaces preceding a linefeed when scanning a putative line comment end.
| * ; Auto-commit of loaddefs files.Stefan Kangas2022-07-281-1/+1
| |
* | Minor improvements to precision scroll interpolationPo Lu2022-07-301-37/+40
| | | | | | | | | | | | * lisp/pixel-scroll.el (pixel-scroll-start-momentum): Bump GC cons threshold temporarily. This leads to a very noticable improvement to animation speed.
* | * subr.el (buffer-match-p): Add t as trivial a conditionPhilip Kaludercic2022-07-291-0/+2
| |
* | Adapt native compiler to change in narrow-to-regionGerd Möllmann2022-07-291-1/+2
| | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Add third argument nil for narrow-to-region.
* | Fix outline byte compilation warning from previous changeLars Ingebrigtsen2022-07-291-7/+7
| | | | | | | | | | * lisp/outline.el (outline--use-buttons-p): Move around to fix byte compilation warning.
* | Fix up the outline minor mode button logicLars Ingebrigtsen2022-07-291-7/+11
| | | | | | | | | | | | | | | | * lisp/outline.el (outline-minor-mode-highlight-buffer): Factor out... (bug#56820). (outline--use-buttons-p): ... to here. (outline-hide-subtree, outline--fix-up-all-buttons) (outline-show-subtree): Use it.
* | ; Fix wording of some doc strings in selection.elEli Zaretskii2022-07-291-3/+6
| | | | | | | | | | | | * lisp/select.el (xselect-dnd-target-available-p) (xselect-dt-netfile-available-p, xselect-uri-list-available-p): Doc fixes.
* | Don't offer meaningless selection targets during drag-and-dropPo Lu2022-07-291-3/+11
| | | | | | | | | | | | * lisp/select.el (xselect-dnd-target-available-p): New function. (selection-converter-alist): Register it as the availability function for DND specific targets.
* | * lisp/tab-bar.el (tab-prefix-map): Fix key broken by conversion.Juri Linkov2022-07-281-1/+1
| |
* | Cleanup `string-equal-ignore-case' declarations.Sam Steingold2022-07-282-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, a minor declaration cleanup for other `compare-strings' thin wrappers. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Remove `string-equal-ignore-case', `string-prefix-p', `string-suffix-p'. (side-effect-and-error-free-fns): Add `proper-list-p' (it already was in `pure-fns'). (pure-fns): Remove `string-prefix-p', `string-suffix-p' (`string-equal-ignore-case' was missing here). * lisp/subr.el (proper-list-p): Remove partially duplicate `put's from here. (string-equal-ignore-case, string-prefix-p, string-suffix-p): Add `pure' and `side-effect-free' declarations. (string-equal-ignore-case): Make inline.
* | Comment fixes for recent icon codeLars Ingebrigtsen2022-07-282-2/+2
| | | | | | | | | | | | * lisp/cus-edit.el (custom-icon-state): Add comment. * lisp/emacs-lisp/icons.el: Remove comment.
* | ; Minor fixes to the "icons" featureEli Zaretskii2022-07-281-1/+3
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/icons.el (icons--create): Use 'display-images-p' to test for image capability. * doc/lispref/display.texi (Icons): Improve indexing, cross-references, and wording.
* | Delete fast-lock.el and lazy-lock.elStefan Kangas2022-07-285-1851/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'font-lock-support-mode' is occasionally useful for debugging purposes, so it remains as a defvar. Ref: https://lists.gnu.org/r/emacs-devel/2020-08/msg00125.html * lisp/obsolete/fast-lock.el: * lisp/obsolete/lazy-lock.el: Delete libraries obsolete since 22.1. (Bug#56560) * lisp/font-lock.el (font-lock-support-mode): Make into a defvar and delete any mention of 'lazy-lock-mode' and 'fast-lock-mode'. (font-lock-turn-on-thing-lock, font-lock-turn-off-thing-lock): Drop support for obsolete modes lazy-lock and fast-lock. (font-lock-after-fontify-buffer) (font-lock-after-unfontify-buffer): Make into obsolete function aliases for 'ignore'. Adjust callers. (font-lock-keywords, font-lock-inhibit-thing-lock): Adjust documentation to not mention lazy-lock and fast-lock. * lisp/font-core.el (font-lock-defaults): Adjust documentation to not mention 'font-lock-inhibit-thing-lock'. * lisp/mail/rmail.el (rmail-variables): Don't inhibit obsolete lazy-lock-mode and fast-lock-mode.
* | Convert ffap comments to testsStefan Kangas2022-07-281-11/+1
| | | | | | | | | | * test/lisp/ffap-tests.el (ffap-file-remote-p, ffap-machine-p): New tests.
* | ; Delete LCD Archive entriesStefan Kangas2022-07-284-28/+3
| | | | | | | | | | | | | | * lisp/emacs-lisp/advice.el: * lisp/emacs-lisp/trace.el: * lisp/mail/feedmail.el: * lisp/mail/supercite.el: Delete entries for the defunct LCD Archive.
* | Merge from origin/emacs-28Stefan Kangas2022-07-282-8/+16
|\| | | | | | | | | | | | | | | | | 23112f89f9 ; Improve documentation of 'file-name-with-extension' 4be938169d Release the desktop lock in 'kill-emacs-hook' 4ea1f6c7f8 ; * doc/lispref/tips.texi (Documentation Tips): Fix typos.... # Conflicts: # doc/lispref/tips.texi
| * ; Improve documentation of 'file-name-with-extension'Eli Zaretskii2022-07-281-5/+7
| | | | | | | | * lisp/files.el (file-name-with-extension): Doc fix. (Bug#56809)
| * Release the desktop lock in 'kill-emacs-hook'Paul Pogonyshev2022-07-281-3/+9
| | | | | | | | | | | | * lisp/desktop.el: Run 'desktop--on-kill' in 'kill-emacs-hook'. (desktop--on-kill): New function, refactored from 'desktop-kill'. (desktop-kill): Call 'desktop--on-kill'. (Bug#56800)
* | Use icons in warnings buffersLars Ingebrigtsen2022-07-281-25/+30
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/warnings.el (warning-suppress-action) (warning-suppress-log-action): Removed. New icon. (warnings-suppress): New helper function. (display-warning): Use it (bug#46025).
* | Use icons in outlineLars Ingebrigtsen2022-07-282-41/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help.el (describe-bindings): Don't force buttons on (bug#56691). * lisp/outline.el (outline-minor-mode-use-buttons): Default buttons on in special-mode buffers. * lisp/outline.el (outline-minor-mode-buttons): Remove. (outline-open, outline-close): New icons. (outline-minor-mode-highlight-buffer): Use the new predicate to switch on/off. (outline--make-button): Remove. (outline--make-button-overlay): Use icons.el instantiation. (outline--valid-emoji-p): Remove. (outline--valid-char-p): Remove. (outline--insert-open-button, outline--insert-close-button): Make point movement better in *Help* buffers.
* | Add support for user-customizable iconsLars Ingebrigtsen2022-07-284-7/+562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Specific Customization): Mention it. * doc/emacs/display.texi (Icons): New node. * doc/lispref/display.texi (Icons): New node. * lisp/button.el (buttonize): (button--properties, buttonize-region): Allow not overriding faces. * lisp/cus-edit.el (custom-save-all): Save icons. (custom-icon): New widget. (custom-icon-value-create, custom-toggle-hide-icon) (custom--icons-widget-value, custom-icon-set): Helper functions for the widget. (customize-icon): Main command. (custom-icon-state-set, custom-icon-state): Helper functions. (custom-theme-set-icons): Function to be used by theme writers. (custom-set-icons): Function to be used in .emacs. (custom-save-icons): New function. * lisp/custom.el (custom-push-theme): Add icons. * lisp/emacs-lisp/icons.el: New file. * test/lisp/emacs-lisp/icons-tests.el: Add some tests.
* | Make quickurl.el obsolete (part 2/2)Stefan Kangas2022-07-282-1/+2
| | | | | | | | | | | | * lisp/obsolete/quickurl.el: Add "Obsolete-since" header. * lisp/info.el (Info-file-list-for-emacs): Delete quickurl entry. * doc/misc/autotype.texi (QuickURL): Delete section.
* | Make net/quickurl.el obsolete (part 1/2)Stefan Kangas2022-07-281-0/+0
| | | | | | | | | | * lisp/net/quickurl.el: Move from here... * lisp/obsolete/quickurl.el: ...to here.
* | Doc fixes: don't mention EFSStefan Kangas2022-07-284-8/+8
| | | | | | | | | | | | | | | | | | | | * doc/misc/ede.texi (ede-project): * doc/misc/gnus.texi (Directory Groups, Various Various): * lisp/cedet/ede/base.el (ede-project): * lisp/gnus/mml.el (mml-attach-external): * lisp/org/org.el (org-file-apps): * lisp/url/url-file.el (url-file-find-possibly-compressed-file): Doc fixes; don't mention XEmacs specific library EFS.
* | New test ffap-replace-file-componentStefan Kangas2022-07-281-1/+0
| | | | | | | | * test/lisp/ffap-tests.el (ffap-replace-file-component): New test.
* | Minor doc fixes in ffap.elStefan Kangas2022-07-281-19/+13
| | | | | | | | | | | | * lisp/ffap.el: (ffap-url-fetcher): Minor doc fixes. Adapt to new default; don't mention defunct/missing library ffap-url.el.
* | Drop support for obsolete "Lisp Code Directory" from ffapStefan Kangas2022-07-281-2/+1
| | | | | | | | | | | | | | | | Ref: https://flex.phys.tohoku.ac.jp/texi/faq/faq_146.html Note also that the host "archive.cis.ohio-state.edu" is unknown. * lisp/ffap.el (ffap-alist): Drop support for obsolete "Lisp Code Directory". (ffap-lcd): Make obsolete.
* | ; * lisp/ffap.el: Delete code commented out since 1997.Stefan Kangas2022-07-281-12/+0
| |
* | Drop support for XEmacs package EFSStefan Kangas2022-07-285-32/+13
| | | | | | | | | | | | | | | | | | | | | | | | EFS is a long defunct XEmacs-specific fork of Ange FTP that is superseded by TRAMP. * lisp/ffap.el (ffap-ftp-default-user) (ffap-replace-file-component, ffap-host-to-filename): * lisp/gnus/mml.el (mml-parse-file-name): * lisp/gnus/nnheader.el (nnheader-re-read-dir): * lisp/net/browse-url.el (browse-url-filename-alist): * lisp/speedbar.el (speedbar-check-vc): Drop support for XEmacs package EFS.
* | Make ffap-file-suffix obsoleteStefan Kangas2022-07-271-1/+2
| | | | | | | | | | * lisp/ffap.el (ffap-file-suffix): Make obsolete in favor of file-name-extension. Update callers.
* | Remove Tramp instrumentationMichael Albinus2022-07-271-22/+9
| |
* | * lisp/net/tramp.el (tramp-handle-shell-command): Modify sentinel handling.Michael Albinus2022-07-271-29/+37
| |
* | Further Tramp instrumentationMichael Albinus2022-07-271-19/+24
| | | | | | | | | | ; * test/infra/test-jobs.yml (test-lisp-net-inotify): ; Revert instrumentation.
* | Add compat from GNU ELPA as a soft dependency in ERCF. Jason Park2022-07-275-68/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-backend.el (erc-parse-server-response, erc--parse-isupport-value): Remove sub-28 compat code involving `string-search'. * lisp/erc/erc-compat.el: Require compat package, but don't error when absent. * lisp/erc/erc-dcc.el (erc-dcc-member): Remove `string-search' compat code. (erc-dcc-unquote-filename): Remove `string-replace' compat code. * lisp/erc/erc-speedbar.el (erc-speedbar-expand-server, erc-speedbar-expand-channel, erc-speedbar-expand-user): Remove `string-search' compat code. * lisp/erc/erc.el: Add compat version 28.1.2.0 to Package-Requires header and require `erc-compat' after other libraries. (erc--valid-local-channel-p): Remove `string-search' compat code. (erc-update-mode-line-buffer): Remove `string-replace' compat code. (erc-message-english-PART): Remove `string-replace' compat code.