summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix pkg description file name when pkg name has numbers (Bug#77143)masterLin Jian3 days1-1/+3
| | | | | | | * lisp/subr.el (package--description-file): Match end of string and add `snapshot` among the possible version names. Copyright-paperwork-exempt: yes
* Fix typo in test of read-only cl-defstruct slot.Earl Hyatt3 days1-2/+3
| | | | | | | | | * test/lisp/emacs-lisp/cl-macs-tests.el (mystruct) (cl-lib-struct-accessors): Use ":read-only" instead of ":readonly". * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-struct-accessors): Test using `setf' on read-only accessor to make sure the correct keyword is used.
* Add cl-with-accessorsEarl Hyatt3 days4-0/+118
| | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-with-accessors): New macro. * doc/misc/cl.texi (Structures): Mention the new macro. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-lib-struct-with-accessors): New Test. * etc/NEWS (New macro 'cl-with-accessors'.): Mention the macro. This macro is useful when making repeated use of a structures accessor functions, such as reading from a slot and then writing to a slot. It is similar to 'with-slots' from EIEIO, but uses accessor functions instead of slot names.
* Improve logic of tab handling when quitting windows (bug#71386)Juri Linkov3 days2-9/+128
| | | | | | | | | | | | * lisp/window.el (window-deletable-p): Add tab logic that returns the symbol 'tab' for a set of predefined conditions. (window--delete): Call 'tab-bar-close-tab' when 'window-deletable-p' returns the symbol 'tab'. (quit-restore-window): Remove tab logic and merge it with frame logic. * test/lisp/tab-bar-tests.el (tab-bar-tests-close-other-tabs-default) (tab-bar-tests-close-other-tabs-with-arg): Clean up tabs afterwards. (tab-bar-tests-quit-restore-window): New test.
* (insert-kbd-macro): PolishStefan Monnier3 days1-35/+18
| | | | | * lisp/macros.el (insert-kbd-macro): Straighten control flow, use `pp` and `keymap-global-set`.
* lisp/macros.el (insert-kbd-macro): Fix anonymous case (bug#77317)Stefan Monnier3 days1-4/+3
|
* japan-util.el: Cosmetic changesStefan Monnier3 days1-56/+38
| | | | | * lisp/language/japan-util.el (<toplevel>): Use `pcase-dolist` and `when`. (japanese-string-conversion): Use `point-min`.
* Fix replace-region in japan-util.elEli Zaretskii4 days1-24/+20
| | | | | | | | | | * lisp/language/japan-util.el (japanese-replace-region): Allow STRING to be a character in addition to a string. Un-obsolete it. (japanese-katakana-region, japanese-hiragana-region) (japanese-hankaku-region, japanese-zenkaku-region): Call 'japanese-replace-region' instead of 'replace-region-contents'. (Bug#77397)
* ; Twice mention 'tab' value in buffer display doc-strings (Bug#71386)Martin Rudalics4 days1-3/+5
| | | | | | * lisp/window.el (display-buffer-record-window) (window--display-buffer): Mention value 'tab' for TYPE argument (Bug#71386).
* ; Merge from origin/emacs-30Michael Albinus4 days0-0/+0
|\ | | | | | | | | | | The following commit was skipped: 10991877c8d Sync with Tramp 2.7.3-pre
| * Sync with Tramp 2.7.3-preMichael Albinus5 days23-1225/+1839
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Use @dots{} where appropriate. (External methods): Precise remark on rsync speed. (Customizing Methods): Add incus-tramp. (Password handling): Mention expiration of cached passwords when a session timeout happens. (Predefined connection information): Mention also "androidsu" as special case of "tmpdir". (Ad-hoc multi-hops, Frequently Asked Questions): Improve description how ad-hoc multi-hop file names can be made persistent. (Bug#65039, Bug#76457) (Remote processes): Signals are not delivered to remote direct async processes. Say, that there are restrictions for transfer of binary data to remote direct async processes. (Bug Reports): Explain bisecting. (Frequently Asked Questions): Improve index. Speak about fingerprint readers. Recommend `small-temporary-file-directory' for ssh sockets. (External packages): Rename subsection "Timers, process filters, process sentinels, redisplay". (Extension packages): New node. (Top, Files directories and localnames): Add it to @menu. * doc/misc/trampver.texi: * lisp/net/trampver.el (tramp-version): Adapt Tramp versions. (tramp-repository-branch, tramp-repository-version): Remove ;;;###tramp-autoload cookie. * lisp/net/tramp-adb.el: * lisp/net/tramp-androidsu.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-container.el: * lisp/net/tramp-crypt.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-fuse.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-integration.el: * lisp/net/tramp-message.el: * lisp/net/tramp-rclone.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-sshfs.el: * lisp/net/tramp-sudoedit.el: * lisp/net/tramp.el: Use `when-let*', `if-let*' and `and-let*' consequently. (Bug#73441) * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Move setting of sentinel up. * lisp/net/tramp-archive.el (tramp-archive-file-name-p): Add ;;;###tramp-autoload cookie. (tramp-archive-local-file-name): New defun. * lisp/net/tramp-cache.el (tramp-connection-properties): Add link to the Tramp manual in the docstring. (tramp-get-connection-property, tramp-set-connection-property): Don't raise a debug message for the `tramp-cache-version' key. (with-tramp-saved-connection-property) (with-tramp-saved-connection-properties): Add traces. (tramp-dump-connection-properties): Don't save connection property "pw-spec". * lisp/net/tramp-cmds.el (tramp-repository-branch) (tramp-repository-version): Declare. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): (tramp-gvfs-do-copy-or-rename-file): Don't use the truename. Handle symlinks. (tramp-gvfs-local-file-name): New defun. * lisp/net/tramp-message.el (tramp-repository-branch) (tramp-repository-version): Declare. (tramp-error-with-buffer, tramp-user-error): Don't redisplay in `sit-for'. (Bug#73718) (tramp-warning): Fix `lwarn' call. * lisp/net/tramp.el (tramp-read-passwd): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Rename connection property "password-vector" to "pw-vector". * lisp/net/tramp-sh.el (tramp-methods) <pscp, psftp>: Adapt `tramp-copy-args' argument. (tramp-get-remote-pipe-buf, tramp-actions-before-shell): Use `tramp-fingerprint-prompt-regexp'. (tramp-sh-handle-copy-directory): Apply `tramp-do-copy-or-rename-file-directly' if possible. (tramp-do-copy-or-rename-file): Refactor. Handle symlinks. (Bug#76678) (tramp-plink-option-exists-p): New defun. (tramp-ssh-or-plink-options): Rename from `tramp-ssh-controlmaster-options'. Adapt further plink options. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Adapt calls. (tramp-sh-handle-make-process): Don't set connection property "remote-pid", it's unused. (tramp-sh-handle-process-file): Do proper quoting. (tramp-vc-file-name-handler): Add `file-directory-p', which is used in `vc-find-root'. (Bug#74026) (tramp-maybe-open-connection): Use connection property "hop-vector". (tramp-get-remote-pipe-buf): Make it more robust. * lisp/net/tramp-smb.el (tramp-smb-errors): Add string. (tramp-smb-handle-copy-directory): Don't check existence of DIRNAME, this is done in `tramp-skeleton-copy-directory' already. (tramp-smb-handle-copy-file, tramp-smb-handle-rename-file): Refactor. * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): STDERR is not implemented. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Don't use the truename. Handle symlinks. * lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS. (tramp-otp-password-prompt-regexp): Add TACC HPC prompt. (tramp-wrong-passwd-regexp): Add fingerprint messages. (tramp-fingerprint-prompt-regexp, tramp-use-fingerprint): New defcustoms. (tramp-string-empty-or-nil-p): Declare `tramp-suppress-trace' property. (tramp-barf-if-file-missing): Accept also symlinks. (tramp-skeleton-file-exists-p) (tramp-handle-file-directory-p): Protect against cyclic symlinks. (tramp-skeleton-make-symbolic-link): Drop volume letter when flushing. (tramp-skeleton-process-file): Raise a warning if STDERR is not implemented. (tramp-skeleton-set-file-modes-times-uid-gid): Fix typo. (tramp-compute-multi-hops): Check for `tramp-sh-file-name-handler-p', it works only for this. (tramp-handle-shell-command): Respect `async-shell-command-display-buffer'. (tramp-action-password, tramp-process-actions): Use connection property "hop-vector". (tramp-action-fingerprint, tramp-action-show-message): New defuns. (tramp-action-show-and-confirm-message): Start check at (point-min). (tramp-wait-for-regexp): Don't redisplay in `sit-for'. (Bug#73718) (tramp-convert-file-attributes): Don't cache "file-attributes-ID-FORMAT". (tramp-read-passwd, tramp-clear-passwd): Rewrite. (Bug#74105) * test/lisp/net/tramp-tests.el (auth-source-cache-expiry) (ert-batch-backtrace-right-margin): Set them to nil. (vc-handled-backends): Suppress if noninteractive. (tramp--test-enabled): Cleanup also `tramp-compat-temporary-file-directory'. (tramp-test11-copy-file, tramp-test12-rename-file) (tramp-test18-file-attributes, tramp--test-deftest-with-stat) (tramp--test-deftest-with-perl, tramp--test-deftest-with-ls) (tramp--test-deftest-without-file-attributes) (tramp-test21-file-links, tramp-test28-process-file) (tramp-test32-shell-command, tramp-test36-vc-registered) (tramp-test39-make-lock-file-name, tramp--test-check-files) (tramp-test42-utf8, tramp-test43-file-system-info) (tramp-test44-file-user-group-ids, tramp-test47-read-password): Adapt tests. (tramp-test47-read-fingerprint): New test.
* | Merge from origin/emacs-30Michael Albinus4 days6-31/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | | e6b4c0bcebf lisp/emacs-lisp/cl-macs.el (cl-labels): Fix docstring (bu... 7a976d1aaf7 Fix minor issues in documentation of `use-package' 99ff59bd66c PHP should be in the PATH, either locally or remotely. (b... 26873d5028e Avoid warning when loading 'go-ts-mode' a702f29a00b ; Fix package-version values a1fbc51dc71 ; * lisp/which-key.el (which-key-idle-delay): Fix package... # Conflicts: # lisp/progmodes/php-ts-mode.el # lisp/which-key.el
| * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix docstring (bug#77348)Stefan Monnier5 days1-3/+4
| |
| * Fix minor issues in documentation of `use-package'Dominik Schrempf5 days1-4/+4
| | | | | | | | | | | | (Bug#77311) Copyright-paperwork-exempt: yes
| * PHP should be in the PATH, either locally or remotely. (bug#76242).Vincenzo Pupillo6 days1-16/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/php-ts-mode.el (php-ts-mode-php-default-executable): Renamed from 'php-ts-mode-php-executable'. (php-ts-mode--executable): New function that returns the absolute filename of the PHP executable, local or remote, based on 'default-directory'. (php-ts-mode--anchor-prev-sibling): Replaced 'when-let' with “when-let*.” (php-ts-mode--indent-defun): Replaced 'when-let' with 'when-let*'. (php-ts-mode-run-php-webserver): Use the new function (php-ts-mode-php-default-executable). (run-php): Use the new function (php-ts-mode-php-default-executable).
| * Avoid warning when loading 'go-ts-mode'Eli Zaretskii6 days1-1/+1
| | | | | | | | | | | | * lisp/progmodes/go-ts-mode.el (treesit-ready-p): Silence the warning if the gomod language library is not installed. (Bug#77213)
| * ; Fix package-version valuesEli Zaretskii8 days2-2/+2
| | | | | | | | | | * lisp/textmodes/rst.el (rst-compile-toolsets): * lisp/which-key.el (which-key-idle-delay): Fix package-version.
| * ; * lisp/which-key.el (which-key-idle-delay): Fix package-version.Eli Zaretskii8 days1-1/+1
| |
* | ; Merge from origin/emacs-30Michael Albinus4 days0-0/+0
|\| | | | | | | | | | | | | | | The following commits were skipped: 816a17a7115 peg.texi: Fix bug#76555 even a bit more 4d396138b4f peg.texi: Fix bug#76555 even a bit more fb4db5c1a7b PEG: Fix bug#76555
| * peg.texi: Fix bug#76555 even a bit moreYue Yi9 days1-2/+2
| | | | | | | | | | * doc/lispref/peg.texi (Parsing Expression Grammars): Fix other part of the grammar of `define-peg-ruleset` example.
| * peg.texi: Fix bug#76555 even a bit moreYue Yi9 days1-3/+3
| | | | | | | | | | * doc/lispref/peg.texi (Parsing Expression Grammars): Fix grammar of `define-peg-ruleset` example.
| * PEG: Fix bug#76555Stefan Monnier9 days2-2/+2
| | | | | | | | | | | | | | * doc/lispref/peg.texi (Parsing Expression Grammars): Fix `define-peg-ruleset` example. * lisp/progmodes/peg.el (define-peg-rule): Fix indent rule.
* | Respect narrowed buffers when parsing JSON (bug#77325)Pip Cet5 days2-6/+33
| | | | | | | | | | | | | | | | * src/json.c (Fjson_insert): Simplify 'memcpy' argument. (Fjson_parse_buffer): Only read to ZV, not all the way to Z. * test/src/json-tests.el (with-all-gap-positions-in-temp-buffer): New macro. (json-parse-buffer/restricted): New test.
* | Fix display of overlay arrow immediately after invisible textEli Zaretskii5 days1-1/+10
| | | | | | | | | | | | | | * src/xdisp.c (overlay_arrow_at_row): Allow the overlay arrow's marker position to be anywhere between the row's start and end charpos. This keeps the overlay arrow on display even when the preceding text is invisible. (Bug#54843)
* | Tighten the criteria for a defun in typescript-ts-mode (bug#77369)Yuan Fu5 days1-1/+14
| | | | | | | | | | | | * lisp/progmodes/typescript-ts-mode.el: (typescript-ts-mode--defun-predicate): New function. (typescript-ts-base-mode): Use new predicate.
* | src/insdel.c (replace_range): Remove commentStefan Monnier5 days1-3/+0
| | | | | | | | It should have been removed in commit b16afa45bb6a.
* | Don't obsolete the _command_ replace-buffer-contentsPo Lu5 days2-2/+0
| | | | | | | | | | | | * lisp/subr.el (replace-buffer-contents): Don't obsolete function. Its purpose is to serve as a command and such obsoletion was unnecessary to begin with.
* | time-stamp source commentary: point to manual sectionStephen Gildea5 days2-3/+4
| | | | | | | | | | | | | | * lisp/time-stamp.el: Add an Info link in the commentary, now that the manual has more to say. * doc/emacs/files.texi (Time Stamps for One File): Expand one consistent example.
* | Merge remote-tracking branch 'origin/scratch/replace-region-contents'Stefan Monnier5 days21-269/+324
|\ \
| * | Org: Use new `replace-region-contents`Stefan Monnier5 days2-19/+20
| | | | | | | | | | | | | | | | | | * lisp/org/org-compat.el (org-replace-buffer-contents): Delete function. (org-replace-region-contents): New function. * lisp/org/org-src.el (org-edit-src-save, org-edit-src-exit): Use it.
| * | Use `replace-region-contents` to replace insert+deleteStefan Monnier5 days7-64/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion--replace): * lisp/emacs-lisp/cl-lib.el (cl--set-buffer-substring): * lisp/subr.el (replace-string-in-region): Use `replace-region-contents` instead of insert+delete. * lisp/help-fns.el (help-fns--signature): Use `replace-region-contents` instead of `cl--set-buffer-substring`. * lisp/language/japan-util.el (japanese-replace-region): Rewrite using `replace-region-contents` and mark obsolete. (japanese-katakana-region, japanese-hankaku-region): Use `replace-region-contents` instead. * lisp/progmodes/flymake-proc.el (flymake-proc--replace-region): Rewrite using `replace-region-contents` and mark obsolete. (flymake-proc--check-patch-master-file-buffer): Use `replace-region-contents` instead.
| * | Replace uses of `replace-buffer-contents`Stefan Monnier5 days5-29/+31
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc.el (vc-diff-restore-buffer): * lisp/progmodes/python.el (python--do-isort): * lisp/progmodes/eglot.el (eglot--apply-text-edits): * lisp/files.el (revert-buffer-insert-file-contents-delicately): * lisp/json.el (json-pretty-print): Use `replace-region-contents`.
| * | src/insdel.c (adjust_markers_for_replace): Fix insertion caseStefan Monnier5 days2-6/+27
| | | | | | | | | | | | test/src/editfns-tests.el (editfns-tests--insert-via-replace): New test
| * | (replace-region-contents): Improve and promote (bug#76313)Stefan Monnier5 days8-151/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Swap the role of `replace-region-contents` and `replace-buffer-contents`, so `replace-region-contents` is the main function, implemented in C, and `replace-buffer-contents` is a mere wrapper (marked as obsolete). Also remove the need to rely on narrowing and on describing the new text as a function. Finally, allow MAX-SECS==0 to require a cheap replacement, and add an INHERIT argument. * src/editfns.c: Include `coding.h`. (Freplace_region_contents): Rename from `Freplace_buffer_contents`. Change calling convention to that of `replace-region-contents`. Add more options for the SOURCE argument. Add INHERIT argument. Skip the costly algorithm if MAX-SECS is 0. * src/insdel.c (replace_range): Allow NEW to be a buffer. * lisp/subr.el (replace-buffer-contents): New implementation. * lisp/emacs-lisp/subr-x.el (replace-region-contents): Delete. * doc/lispref/text.texi (Replacing): Document new API for `replace-region-contents`. Remove documentation of `replace-buffer-contents`. * test/src/editfns-tests.el (replace-buffer-contents-1) (replace-buffer-contents-2, replace-buffer-contents-bug31837): Use `replace-region-contents`. (editfns--replace-region): Delete. (editfns-tests--replace-region): Use `replace-region-contents`. Adds tests for new types of SOURCE args.
* | | Enhance 'icomplete-vertical-mode' customization options.Rahul Martim Juliato5 days2-3/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/icomplete.el (icomplete-vertical-in-buffer-adjust-list): Align in-buffer completion to the original cursor column. (icomplete-vertical-render-prefix-indicator): Add a prefix indicator to completion candidates when enabled. (icomplete-vertical-selected-prefix-indicator): Specify the prefix string for the selected candidate. (icomplete-vertical-unselected-prefix-indicator): Specify the prefix string for unselected candidates. (icomplete-vertical-selected-prefix-indicator-face): Control the appearance of the selected candidate prefix. (icomplete-vertical-unselected-prefix-indicator-face): Control the appearance of unselected candidate prefixes. (Bug#75794) * etc/NEWS: Document the new user options and faces.
* | | ; * admin/notes/java: Document substitutes for `goto' in Java.Po Lu5 days1-0/+14
|/ /
* | Use 'hash-table-contains-p' in a few placesStefan Kangas6 days7-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces open coded versions of the common idiom (not (eq (gethash key table 'missing) 'missing)) with (hash-table-contains-p key table) in files where we can rely on features in Emacs 31. * lisp/emacs-lisp/map.el (map-contains-key): * lisp/external-completion.el (external-completion-table): * lisp/mh-e/mh-utils.el (mh-sub-folders) (mh-remove-from-sub-folders-cache): * lisp/net/ange-ftp.el (ange-ftp-hash-entry-exists-p): * lisp/password-cache.el (password-in-cache-p, password-cache-add): * lisp/pcmpl-x.el (pcmpl-x-tlmgr-action-options): * lisp/xdg.el (xdg-mime-apps): Use 'hash-table-contains-p'.
* | New function 'hash-table-contains-p'Stefan Kangas6 days5-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function tests whether a given key is present in a hash table. Emacs Lisp has long lacked a standard way to do this, leading users to write one of: (not (eq (gethash key table 'missing) 'missing)) or (gethash key table) This idiom is error-prone (when 'missing' or 'nil' are valid values), and it obscures intent. The new function avoids such pitfalls, improves readability, and makes the intent explicit: (hash-table-contains-p key table) The name 'hash-table-contains-p' exists in other Lisp dialects (e.g., SRFI-125), and follows the precedent of 'seq-contains-p'. Other alternatives considered include `hash-table-has-key-p` and `hash-table-key-exists-p`, but none were clearly better. This was previously discussed in 2018, and all comments were positive, but the proposed patch (implementing it in C) was never pushed: https://lists.gnu.org/r/emacs-devel/2018-02/msg00424.html * lisp/subr.el (hash-table-contains-p): New function. * lisp/emacs-lisp/shortdoc.el (hash-table): * doc/lispref/hash.texi (Other Hash): Document the new function. * test/lisp/subr-tests.el (hash-table-contains-p): New test.
* | Remove redundant constant nil argument to gethashStefan Kangas6 days5-13/+13
| | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/ede/files.el (ede--directory-project-from-hash): * lisp/emacs-lisp/edebug.el (edebug-unwrap*): * lisp/emacs-lisp/testcover.el (testcover--copy-object1): * lisp/net/zeroconf.el (zeroconf-get-service, zeroconf-resolve-service) (zeroconf-register-service-browser, zeroconf-service-browser-handler) (zeroconf-register-service-resolver): * lisp/url/url-history.el (url-have-visited-url): Remove redundant constant nil argument to gethash.
* | ; * lisp/treesit-x.el : Call 'treesit-declare-unavailable-functions'.Eli Zaretskii6 days1-0/+2
| |
* | ; Fix a merge snafu.Eli Zaretskii6 days3-16/+1
| |
* | Merge from origin/emacs-30Eli Zaretskii6 days3-24/+44
|\| | | | | | | | | | | 9a07d64f5c7 ; Minor update in ack.texi b3881ac443f ; Improve type specifier documentation 6a3e2b88d26 ; Improve documentation of "function types"
| * ; Minor update in ack.texiStefan Kangas9 days1-2/+3
| | | | | | | | | | * doc/emacs/ack.texi (Acknowledgments): Mention eglot in entry for João Távora.
| * ; Improve type specifier documentationStefan Kangas9 days2-30/+31
| | | | | | | | | | | | | | * doc/lispref/functions.texi (Declare Form): Clarify wording for precision and consistency; note consequences of incorrect declarations. * doc/lispref/objects.texi (Type Specifiers): Mention use by the native compiler; tighten wording.
| * ; Improve documentation of "function types"Eli Zaretskii10 days2-4/+7
| | | | | | | | | | | | * doc/lispref/functions.texi (Declare Form): * doc/lispref/objects.texi (Type Specifiers): Improve wording and indexing.
* | 'uniquify' user option setters and automatic buffer refresh (bug#77157)shipmints6 days1-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use 'customize', 'setopt', or 'uniquify--set-option' instead of 'setq' to benefit. * lisp/uniquify.el (uniquify--buffer-refresh): New function. (uniquify--set-option): New function. (uniquify-buffer-name-style): Add :initialize and :set forms. (uniquify-ignore-buffers-re): Add :initialize and :set forms. (uniquify-min-dir-content): Add :initialize and :set forms. (uniquify-separator): Add :initialize and :set forms. (uniquify-strip-common-suffix): Add :initialize and :set forms. (uniquify-dirname-transform): Add :initialize and :set forms.
* | Fix compiler warnings in mhtml-ts-mode.el (bug#77017).Vincenzo Pupillo6 days1-4/+16
| | | | | | | | | | | | | | | | * lisp/textmodes/mhtml-ts-mode.el: Added variable and function declarations to prevent compiler warnings. (mhtml-ts-mode): Require 'html-ts-mode' after checking that the html parser is available.
* | ; * etc/NEWS: Remove stray characters.Eli Zaretskii6 days1-1/+1
| |
* | ; Fix last change (bug#77081)Eli Zaretskii6 days2-13/+12
| | | | | | | | | | | | * lisp/electric.el (electric-block-comment-mode): Fix whitespace. * etc/NEWS: Move entry to its proper place; fix punctuation.
* | New minor mode: `electric-block-comment-mode'Elías Gabriel Pérez6 days2-0/+41
| | | | | | | | | | | | | | | | | | | | | | This minor lets you automatically closing block comments after typing `block-comment-start'. Thus, typing "/*" in c-mode and its derivatives automatically inserts "*/". (Bug#77081) * etc/NEWS: Add minor-mode item. * lisp/electric.el (electric-block-comment-post-self-insert-function): New function. (electric-block-comment-mode): New minor mode definition.