diff options
| author | Eli Zaretskii | 2024-12-28 08:30:31 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-28 08:30:31 -0500 |
| commit | af3bbc83600bec6c8621e1b04437dbfdeb329106 (patch) | |
| tree | 9e981a7cdd60b276ae0e6549a4277f1995708d38 /lisp | |
| parent | ad5c8f25b36aac71870ff26b6549014c452a2145 (diff) | |
| parent | 2ba6387d1d63072c5faaa7798c8ef7b00ca883c3 (diff) | |
| download | emacs-af3bbc83600bec6c8621e1b04437dbfdeb329106.tar.gz emacs-af3bbc83600bec6c8621e1b04437dbfdeb329106.zip | |
Merge from origin/emacs-30
2ba6387d1d6 ; Fix inaccuracy in ELisp Reference manual
8ac6a178804 ; * etc/PROBLEMS: Mention problems with XPM support in GD...
624322d5f6a Add missing fontification matches for elixir-ts-mode
5bafb11b400 ; Fix copyright year
186ea407326 Don't start docstrings with "This function" or similar
cb8ce2e68bb Enable indent-tabs-mode in obj-c-mode
54f35137096 Fix comment indent in 'lua-ts-mode' and old grammar
8b95549e908 * admin/nt/dist-build/build-dep-zips.py: (deps src) handl...
8064b2a6798 Document undocumented completion commands
c29b798537e ; etc/w32-feature.el (harfbuzz): improve test
0e43e35f96e * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only ...
b83cd8a8fb0 ; * etc/tutorials/TUTORIAL.ko: Fix the beginning.
41caccc488b ; * etc/publicsuffix.txt: Update from upstream.
e6fb18406ee ; Fix refcards
14e791f9ba2 ; Update acknowledgments for Emacs 30
861b7864fc4 ; Fix node name in emacs-lisp-intro.texi
77243ba5be8 ; Update version tags of defcustoms
fe2ac33bae8 ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted...
8fb884f0dc0 ; * etc/NEWS: Fix wording.
e281355a5e8 Improve D-Bus and Tramp manual
# Conflicts:
# doc/emacs/emacs.texi
# etc/NEWS
# lisp/erc/erc-log.el
# lisp/eshell/esh-mode.el
# lisp/which-key.el
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/editorconfig.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc-log.el | 4 | ||||
| -rw-r--r-- | lisp/erc/erc-track.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/em-cmpl.el | 3 | ||||
| -rw-r--r-- | lisp/eshell/em-smart.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/esh-ext.el | 1 | ||||
| -rw-r--r-- | lisp/eshell/esh-mode.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnfeed.el | 1 | ||||
| -rw-r--r-- | lisp/mail/supercite.el | 2 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 12 | ||||
| -rw-r--r-- | lisp/net/newst-ticker.el | 1 | ||||
| -rw-r--r-- | lisp/net/nsm.el | 21 | ||||
| -rw-r--r-- | lisp/org/org-element.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-vars.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/eglot.el | 18 | ||||
| -rw-r--r-- | lisp/progmodes/elixir-ts-mode.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/flymake.el | 5 | ||||
| -rw-r--r-- | lisp/progmodes/lua-ts-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/modula2.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/verilog-mode.el | 9 | ||||
| -rw-r--r-- | lisp/progmodes/xscheme.el | 8 | ||||
| -rw-r--r-- | lisp/register.el | 3 | ||||
| -rw-r--r-- | lisp/vc/vc-annotate.el | 1 | ||||
| -rw-r--r-- | lisp/which-key.el | 2 |
28 files changed, 79 insertions, 40 deletions
diff --git a/lisp/editorconfig.el b/lisp/editorconfig.el index fbc7a59d823..666df9941c8 100644 --- a/lisp/editorconfig.el +++ b/lisp/editorconfig.el | |||
| @@ -274,6 +274,7 @@ a list of settings in the form (VARIABLE . VALUE)." | |||
| 274 | (repeat | 274 | (repeat |
| 275 | (choice symbol | 275 | (choice symbol |
| 276 | (cons symbol integer))))) | 276 | (cons symbol integer))))) |
| 277 | :version "30.1" | ||
| 277 | :risky t) | 278 | :risky t) |
| 278 | 279 | ||
| 279 | (defcustom editorconfig-trim-whitespaces-mode nil | 280 | (defcustom editorconfig-trim-whitespaces-mode nil |
| @@ -281,6 +282,7 @@ a list of settings in the form (VARIABLE . VALUE)." | |||
| 281 | 282 | ||
| 282 | If set, enable that mode when `trim_trailing_whitespace` is set to true. | 283 | If set, enable that mode when `trim_trailing_whitespace` is set to true. |
| 283 | Otherwise, use `delete-trailing-whitespace'." | 284 | Otherwise, use `delete-trailing-whitespace'." |
| 285 | :version "30.1" | ||
| 284 | :type 'symbol) | 286 | :type 'symbol) |
| 285 | 287 | ||
| 286 | (defvar-local editorconfig-properties-hash nil | 288 | (defvar-local editorconfig-properties-hash nil |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 098cf6d7d71..dc64b8bebc8 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -571,7 +571,7 @@ If this is set to nil, never try to reconnect." | |||
| 571 | (integer :tag "Seconds"))) | 571 | (integer :tag "Seconds"))) |
| 572 | 572 | ||
| 573 | (defvar-local erc-server-ping-handler nil | 573 | (defvar-local erc-server-ping-handler nil |
| 574 | "This variable holds the periodic ping timer.") | 574 | "The periodic server ping timer.") |
| 575 | 575 | ||
| 576 | ;;;; Helper functions | 576 | ;;;; Helper functions |
| 577 | 577 | ||
diff --git a/lisp/erc/erc-log.el b/lisp/erc/erc-log.el index a1102ebdcdf..69da188ea4f 100644 --- a/lisp/erc/erc-log.el +++ b/lisp/erc/erc-log.el | |||
| @@ -360,13 +360,13 @@ The result is converted to lowercase, as IRC is case-insensitive." | |||
| 360 | erc-log-channels-directory))))) | 360 | erc-log-channels-directory))))) |
| 361 | 361 | ||
| 362 | (defun erc-generate-log-file-name-with-date (buffer &rest _ignore) | 362 | (defun erc-generate-log-file-name-with-date (buffer &rest _ignore) |
| 363 | "Compute a short log file name with the current date. | 363 | "Return a short log file name with the current date. |
| 364 | The name of the log file is composed of BUFFER and the current date. | 364 | The name of the log file is composed of BUFFER and the current date. |
| 365 | This function is a possible value for `erc-generate-log-file-name-function'." | 365 | This function is a possible value for `erc-generate-log-file-name-function'." |
| 366 | (concat (buffer-name buffer) "-" (format-time-string "%Y-%m-%d") ".txt")) | 366 | (concat (buffer-name buffer) "-" (format-time-string "%Y-%m-%d") ".txt")) |
| 367 | 367 | ||
| 368 | (defun erc-generate-log-file-name-short (buffer &rest _ignore) | 368 | (defun erc-generate-log-file-name-short (buffer &rest _ignore) |
| 369 | "Compute a short log file name. | 369 | "Return a short log file name. |
| 370 | In fact, it only uses the buffer name of the BUFFER argument, so | 370 | In fact, it only uses the buffer name of the BUFFER argument, so |
| 371 | you can affect that using `rename-buffer' and the-like. This | 371 | you can affect that using `rename-buffer' and the-like. This |
| 372 | function is a possible value for | 372 | function is a possible value for |
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index fac0269f9e8..6191ec32182 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -140,7 +140,7 @@ This setting is used by `erc-track-shorten-names'." | |||
| 140 | (const :tag "Max" max))) | 140 | (const :tag "Max" max))) |
| 141 | 141 | ||
| 142 | (defcustom erc-track-shorten-function 'erc-track-shorten-names | 142 | (defcustom erc-track-shorten-function 'erc-track-shorten-names |
| 143 | "This function will be used to reduce the channel names before display. | 143 | "Function used to reduce the channel names before display. |
| 144 | It takes one argument, CHANNEL-NAMES which is a list of strings. | 144 | It takes one argument, CHANNEL-NAMES which is a list of strings. |
| 145 | It should return a list of strings of the same number of elements. | 145 | It should return a list of strings of the same number of elements. |
| 146 | If nil instead of a function, shortening is disabled." | 146 | If nil instead of a function, shortening is disabled." |
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el index ef931db62b2..f8226375f83 100644 --- a/lisp/eshell/em-cmpl.el +++ b/lisp/eshell/em-cmpl.el | |||
| @@ -150,7 +150,8 @@ to writing a completion function." | |||
| 150 | 150 | ||
| 151 | (defcustom eshell-cmpl-remote-file-ignore nil | 151 | (defcustom eshell-cmpl-remote-file-ignore nil |
| 152 | (eshell-cmpl--custom-variable-docstring 'pcomplete-remote-file-ignore) | 152 | (eshell-cmpl--custom-variable-docstring 'pcomplete-remote-file-ignore) |
| 153 | :type (get 'pcomplete-remote-file-ignore 'custom-type)) | 153 | :type (get 'pcomplete-remote-file-ignore 'custom-type) |
| 154 | :version "30.1") | ||
| 154 | 155 | ||
| 155 | (defcustom eshell-cmpl-ignore-case (eshell-under-windows-p) | 156 | (defcustom eshell-cmpl-ignore-case (eshell-under-windows-p) |
| 156 | (eshell-cmpl--custom-variable-docstring 'completion-ignore-case) | 157 | (eshell-cmpl--custom-variable-docstring 'completion-ignore-case) |
diff --git a/lisp/eshell/em-smart.el b/lisp/eshell/em-smart.el index 670b956476d..c49b6a9caa3 100644 --- a/lisp/eshell/em-smart.el +++ b/lisp/eshell/em-smart.el | |||
| @@ -150,7 +150,7 @@ buffer using \\[end-of-buffer]." | |||
| 150 | :group 'eshell-smart) | 150 | :group 'eshell-smart) |
| 151 | 151 | ||
| 152 | (defcustom eshell-where-to-jump 'begin | 152 | (defcustom eshell-where-to-jump 'begin |
| 153 | "This variable indicates where point should jump to after a command. | 153 | "The location where point should jump to after a command. |
| 154 | The options are `begin', `after' or `end'." | 154 | The options are `begin', `after' or `end'." |
| 155 | :type '(radio (const :tag "Beginning of command" begin) | 155 | :type '(radio (const :tag "Beginning of command" begin) |
| 156 | (const :tag "After command word" after) | 156 | (const :tag "After command word" after) |
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index cf93d2904da..38c8b5ac60a 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el | |||
| @@ -171,6 +171,7 @@ These are commands with a full remote file name, such as | |||
| 171 | commands on your local host by using the \"/local:\" prefix, like | 171 | commands on your local host by using the \"/local:\" prefix, like |
| 172 | \"/local:whoami\"." | 172 | \"/local:whoami\"." |
| 173 | :type 'boolean | 173 | :type 'boolean |
| 174 | :version "30.1" | ||
| 174 | :group 'eshell-ext) | 175 | :group 'eshell-ext) |
| 175 | 176 | ||
| 176 | ;;; Functions: | 177 | ;;; Functions: |
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 4f94934fccd..f4a405bfbfc 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el | |||
| @@ -537,7 +537,7 @@ Putting this function on `eshell-pre-command-hook' will mimic Plan 9's | |||
| 537 | (eshell-interactive-output-filter nil string))) | 537 | (eshell-interactive-output-filter nil string))) |
| 538 | 538 | ||
| 539 | (defsubst eshell-begin-on-new-line () | 539 | (defsubst eshell-begin-on-new-line () |
| 540 | "Print a newline if not at beginning of line." | 540 | "Output a newline if not at beginning of line." |
| 541 | (save-excursion | 541 | (save-excursion |
| 542 | (goto-char eshell-last-output-end) | 542 | (goto-char eshell-last-output-end) |
| 543 | (or (bolp) | 543 | (or (bolp) |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 8243e4e632b..45f23e16475 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -512,7 +512,7 @@ might have." | |||
| 512 | :type 'boolean) | 512 | :type 'boolean) |
| 513 | 513 | ||
| 514 | (defcustom gnus-prompt-before-saving 'always | 514 | (defcustom gnus-prompt-before-saving 'always |
| 515 | "This variable says how much prompting is to be done when saving articles. | 515 | "How much prompting to do when saving articles. |
| 516 | If it is nil, no prompting will be done, and the articles will be | 516 | If it is nil, no prompting will be done, and the articles will be |
| 517 | saved to the default files. If this variable is `always', each and | 517 | saved to the default files. If this variable is `always', each and |
| 518 | every article that is saved will be preceded by a prompt, even when | 518 | every article that is saved will be preceded by a prompt, even when |
diff --git a/lisp/gnus/nnfeed.el b/lisp/gnus/nnfeed.el index e8c1fdb8e2b..5fd25dd5ac8 100644 --- a/lisp/gnus/nnfeed.el +++ b/lisp/gnus/nnfeed.el | |||
| @@ -64,6 +64,7 @@ | |||
| 64 | 64 | ||
| 65 | (defcustom nnfeed-date-format "%F %X%p" | 65 | (defcustom nnfeed-date-format "%F %X%p" |
| 66 | "Format of displayed dates (see function `format-time-string')." | 66 | "Format of displayed dates (see function `format-time-string')." |
| 67 | :version "30.1" | ||
| 67 | :type 'string) | 68 | :type 'string) |
| 68 | 69 | ||
| 69 | (nnoo-declare nnfeed) | 70 | (nnoo-declare nnfeed) |
diff --git a/lisp/mail/supercite.el b/lisp/mail/supercite.el index a3b5542bfdc..f9a31aef039 100644 --- a/lisp/mail/supercite.el +++ b/lisp/mail/supercite.el | |||
| @@ -236,7 +236,7 @@ See the variable `sc-cite-frame-alist' for details." | |||
| 236 | :group 'supercite-frames) | 236 | :group 'supercite-frames) |
| 237 | 237 | ||
| 238 | (defcustom sc-cite-region-limit t | 238 | (defcustom sc-cite-region-limit t |
| 239 | "This variable controls automatic citation of yanked text. | 239 | "Size limit for automatic citation of yanked text. |
| 240 | Valid values are: | 240 | Valid values are: |
| 241 | 241 | ||
| 242 | non-nil -- cite the entire region, regardless of its size | 242 | non-nil -- cite the entire region, regardless of its size |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 39e7a399404..cd3c9e00bf7 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -5039,9 +5039,9 @@ contents." | |||
| 5039 | (error (minibuffer-complete-and-exit)))) | 5039 | (error (minibuffer-complete-and-exit)))) |
| 5040 | 5040 | ||
| 5041 | (defun minibuffer-complete-history () | 5041 | (defun minibuffer-complete-history () |
| 5042 | "Complete the minibuffer history as far as possible. | 5042 | "Complete as far as possible using the minibuffer history. |
| 5043 | Like `minibuffer-complete' but completes on the history items | 5043 | Like `minibuffer-complete' but completes using the history of minibuffer |
| 5044 | instead of the default completion table." | 5044 | inputs for the prompting command, instead of the default completion table." |
| 5045 | (interactive) | 5045 | (interactive) |
| 5046 | (let* ((history (symbol-value minibuffer-history-variable)) | 5046 | (let* ((history (symbol-value minibuffer-history-variable)) |
| 5047 | (completions | 5047 | (completions |
| @@ -5062,9 +5062,9 @@ instead of the default completion table." | |||
| 5062 | (cycle-sort-function . identity))))))) | 5062 | (cycle-sort-function . identity))))))) |
| 5063 | 5063 | ||
| 5064 | (defun minibuffer-complete-defaults () | 5064 | (defun minibuffer-complete-defaults () |
| 5065 | "Complete minibuffer defaults as far as possible. | 5065 | "Complete as far as possible using the minibuffer defaults. |
| 5066 | Like `minibuffer-complete' but completes on the default items | 5066 | Like `minibuffer-complete' but completes using the default items |
| 5067 | instead of the completion table." | 5067 | provided by the prompting command, instead of the completion table." |
| 5068 | (interactive) | 5068 | (interactive) |
| 5069 | (when (and (not minibuffer-default-add-done) | 5069 | (when (and (not minibuffer-default-add-done) |
| 5070 | (functionp minibuffer-default-add-function)) | 5070 | (functionp minibuffer-default-add-function)) |
diff --git a/lisp/net/newst-ticker.el b/lisp/net/newst-ticker.el index 01cd2964778..5c9fdb95950 100644 --- a/lisp/net/newst-ticker.el +++ b/lisp/net/newst-ticker.el | |||
| @@ -96,6 +96,7 @@ retrieval interval (or the global `newsticker-retrieval-interval`) is | |||
| 96 | recommended." | 96 | recommended." |
| 97 | :type 'number | 97 | :type 'number |
| 98 | :set #'newsticker--set-customvar-ticker | 98 | :set #'newsticker--set-customvar-ticker |
| 99 | :version "30.1" | ||
| 99 | :group 'newsticker-ticker) | 100 | :group 'newsticker-ticker) |
| 100 | 101 | ||
| 101 | (defcustom newsticker-scroll-smoothly | 102 | (defcustom newsticker-scroll-smoothly |
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index 33eb4986bb7..03e1dee02ba 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el | |||
| @@ -154,17 +154,16 @@ If WARN-UNENCRYPTED, query the user if the connection is unencrypted." | |||
| 154 | (dhe-kx high) | 154 | (dhe-kx high) |
| 155 | (rsa-kx high) | 155 | (rsa-kx high) |
| 156 | (cbc-cipher high)) | 156 | (cbc-cipher high)) |
| 157 | "This variable specifies what TLS connection checks to perform. | 157 | "Alist of TLS connection checks to perform. |
| 158 | It's an alist where the key is the name of the check, and the | 158 | The key is the name of the check, and the value is the minimum security |
| 159 | value is the minimum security level the check should begin. | 159 | level the check should begin. |
| 160 | 160 | ||
| 161 | Each check function is called with the parameters HOST PORT | 161 | Each check function is called with the parameters HOST PORT STATUS |
| 162 | STATUS SETTINGS. HOST is the host domain, PORT is a TCP port | 162 | SETTINGS. HOST is the host domain, PORT is a TCP port number, STATUS is |
| 163 | number, STATUS is the peer status returned by | 163 | the peer status returned by `gnutls-peer-status', and SETTINGS is the |
| 164 | `gnutls-peer-status', and SETTINGS is the persistent and session | 164 | persistent and session settings for the host HOST. Please refer to the |
| 165 | settings for the host HOST. Please refer to the contents of | 165 | contents of `nsm-settings-file' for details. If a problem is found, the |
| 166 | `nsm-settings-file' for details. If a problem is found, the check | 166 | check function is required to return an error message, and nil |
| 167 | function is required to return an error message, and nil | ||
| 168 | otherwise. | 167 | otherwise. |
| 169 | 168 | ||
| 170 | See also: `nsm-check-tls-connection', `nsm-save-host-names', | 169 | See also: `nsm-check-tls-connection', `nsm-save-host-names', |
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el index d184165f6cb..d41f75aa35d 100644 --- a/lisp/org/org-element.el +++ b/lisp/org/org-element.el | |||
| @@ -7259,7 +7259,7 @@ that range. See `after-change-functions' for more information." | |||
| 7259 | #'org-element--cache-after-change -1 t))) | 7259 | #'org-element--cache-after-change -1 t))) |
| 7260 | 7260 | ||
| 7261 | (defvar org-element--cache-avoid-synchronous-headline-re-parsing nil | 7261 | (defvar org-element--cache-avoid-synchronous-headline-re-parsing nil |
| 7262 | "This variable controls how buffer changes are handled by the cache. | 7262 | "How buffer changes are handled by the cache. |
| 7263 | 7263 | ||
| 7264 | By default (when this variable is nil), cache re-parses modified | 7264 | By default (when this variable is nil), cache re-parses modified |
| 7265 | headlines immediately after modification preserving all the unaffected | 7265 | headlines immediately after modification preserving all the unaffected |
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index f0e4c957ea5..dac60c94085 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el | |||
| @@ -474,6 +474,7 @@ This has effect only for languages in which `c-dollar-in-ids' is | |||
| 474 | non-nil, e.g. C, C++, Objective C. It covers languages where | 474 | non-nil, e.g. C, C++, Objective C. It covers languages where |
| 475 | \"$\" is permitted in ids \"informally\", but only by some compilers." | 475 | \"$\" is permitted in ids \"informally\", but only by some compilers." |
| 476 | :type 'boolean | 476 | :type 'boolean |
| 477 | :version "30.1" | ||
| 477 | :group 'c) | 478 | :group 'c) |
| 478 | 479 | ||
| 479 | (defcustom-c-stylevar c-basic-offset 4 | 480 | (defcustom-c-stylevar c-basic-offset 4 |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 9fb498bfff4..60dc2667750 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -583,6 +583,7 @@ AutoSplit. If \"comment\", treat as comment, and do not look for | |||
| 583 | imenu entries." | 583 | imenu entries." |
| 584 | :type '(choice (const perl-code) | 584 | :type '(choice (const perl-code) |
| 585 | (const comment)) | 585 | (const comment)) |
| 586 | :version "30.1" | ||
| 586 | :group 'cperl-faces) | 587 | :group 'cperl-faces) |
| 587 | 588 | ||
| 588 | (defcustom cperl-ps-print-face-properties | 589 | (defcustom cperl-ps-print-face-properties |
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 816a1e67eca..24d8ea52a83 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el | |||
| @@ -182,6 +182,13 @@ | |||
| 182 | :prefix "eglot-" | 182 | :prefix "eglot-" |
| 183 | :group 'tools) | 183 | :group 'tools) |
| 184 | 184 | ||
| 185 | (add-to-list 'customize-package-emacs-version-alist | ||
| 186 | '(Eglot ("1.12" . "29.1") | ||
| 187 | ("1.12" . "29.2") | ||
| 188 | ("1.12" . "29.3") | ||
| 189 | ("1.12.29" . "29.4") | ||
| 190 | ("1.17.30" . "30.1"))) | ||
| 191 | |||
| 185 | (defun eglot-alternatives (alternatives) | 192 | (defun eglot-alternatives (alternatives) |
| 186 | "Compute server-choosing function for `eglot-server-programs'. | 193 | "Compute server-choosing function for `eglot-server-programs'. |
| 187 | Each element of ALTERNATIVES is a string PROGRAM or a list of | 194 | Each element of ALTERNATIVES is a string PROGRAM or a list of |
| @@ -475,7 +482,8 @@ the LSP connection. That can be done by `eglot-reconnect'." | |||
| 475 | (choice | 482 | (choice |
| 476 | (const :tag "Full with original JSON" full) | 483 | (const :tag "Full with original JSON" full) |
| 477 | (const :tag "Shortened" short) | 484 | (const :tag "Shortened" short) |
| 478 | (const :tag "Pretty-printed lisp" lisp)))))) | 485 | (const :tag "Pretty-printed lisp" lisp))))) |
| 486 | :package-version '(Eglot . "1.17.30")) | ||
| 479 | 487 | ||
| 480 | (defcustom eglot-confirm-server-edits '((eglot-rename . nil) | 488 | (defcustom eglot-confirm-server-edits '((eglot-rename . nil) |
| 481 | (t . maybe-summary)) | 489 | (t . maybe-summary)) |
| @@ -506,7 +514,8 @@ ACTION is the default value for commands not in the alist." | |||
| 506 | (alist :tag "Per-command alist" | 514 | (alist :tag "Per-command alist" |
| 507 | :key-type (choice (function :tag "Command") | 515 | :key-type (choice (function :tag "Command") |
| 508 | (const :tag "Default" t)) | 516 | (const :tag "Default" t)) |
| 509 | :value-type (choice . ,basic-choices))))) | 517 | :value-type (choice . ,basic-choices)))) |
| 518 | :package-version '(Eglot . "1.17.30")) | ||
| 510 | 519 | ||
| 511 | (defcustom eglot-extend-to-xref nil | 520 | (defcustom eglot-extend-to-xref nil |
| 512 | "If non-nil, activate Eglot in cross-referenced non-project files." | 521 | "If non-nil, activate Eglot in cross-referenced non-project files." |
| @@ -514,7 +523,8 @@ ACTION is the default value for commands not in the alist." | |||
| 514 | 523 | ||
| 515 | (defcustom eglot-prefer-plaintext nil | 524 | (defcustom eglot-prefer-plaintext nil |
| 516 | "If non-nil, always request plaintext responses to hover requests." | 525 | "If non-nil, always request plaintext responses to hover requests." |
| 517 | :type 'boolean) | 526 | :type 'boolean |
| 527 | :package-version '(Eglot . "1.17.30")) | ||
| 518 | 528 | ||
| 519 | (defcustom eglot-menu-string "eglot" | 529 | (defcustom eglot-menu-string "eglot" |
| 520 | "String displayed in mode line when Eglot is active." | 530 | "String displayed in mode line when Eglot is active." |
| @@ -530,7 +540,7 @@ the LSP connection. That can be done by `eglot-reconnect'." | |||
| 530 | :type '(choice (const :tag "Don't show progress" nil) | 540 | :type '(choice (const :tag "Don't show progress" nil) |
| 531 | (const :tag "Show progress in *Messages*" messages) | 541 | (const :tag "Show progress in *Messages*" messages) |
| 532 | (const :tag "Show progress in Eglot's mode line indicator" t)) | 542 | (const :tag "Show progress in Eglot's mode line indicator" t)) |
| 533 | :version "1.10") | 543 | :package-version '(Eglot . "1.10")) |
| 534 | 544 | ||
| 535 | (defcustom eglot-ignored-server-capabilities (list) | 545 | (defcustom eglot-ignored-server-capabilities (list) |
| 536 | "LSP server capabilities that Eglot could use, but won't. | 546 | "LSP server capabilities that Eglot could use, but won't. |
diff --git a/lisp/progmodes/elixir-ts-mode.el b/lisp/progmodes/elixir-ts-mode.el index 23ad04a662d..d0a692a214b 100644 --- a/lisp/progmodes/elixir-ts-mode.el +++ b/lisp/progmodes/elixir-ts-mode.el | |||
| @@ -475,7 +475,8 @@ | |||
| 475 | 475 | ||
| 476 | :language 'elixir | 476 | :language 'elixir |
| 477 | :feature 'elixir-data-type | 477 | :feature 'elixir-data-type |
| 478 | '([(atom) (alias)] @font-lock-type-face | 478 | '((alias) @font-lock-type-face |
| 479 | (atom) @elixir-ts-atom | ||
| 479 | (keywords (pair key: (keyword) @elixir-ts-keyword-key)) | 480 | (keywords (pair key: (keyword) @elixir-ts-keyword-key)) |
| 480 | [(keyword) (quoted_keyword)] @elixir-ts-atom | 481 | [(keyword) (quoted_keyword)] @elixir-ts-atom |
| 481 | [(boolean) (nil)] @elixir-ts-atom | 482 | [(boolean) (nil)] @elixir-ts-atom |
| @@ -540,6 +541,10 @@ | |||
| 540 | (unary_operator operand: (identifier) @font-lock-variable-use-face) | 541 | (unary_operator operand: (identifier) @font-lock-variable-use-face) |
| 541 | (interpolation (identifier) @font-lock-variable-use-face) | 542 | (interpolation (identifier) @font-lock-variable-use-face) |
| 542 | (do_block (identifier) @font-lock-variable-use-face) | 543 | (do_block (identifier) @font-lock-variable-use-face) |
| 544 | (rescue_block (identifier) @font-lock-variable-use-face) | ||
| 545 | (catch_block (identifier) @font-lock-variable-use-face) | ||
| 546 | (else_block (identifier) @font-lock-variable-use-face) | ||
| 547 | (after_block (identifier) @font-lock-variable-use-face) | ||
| 543 | (access_call target: (identifier) @font-lock-variable-use-face) | 548 | (access_call target: (identifier) @font-lock-variable-use-face) |
| 544 | (access_call "[" key: (identifier) @font-lock-variable-use-face "]")) | 549 | (access_call "[" key: (identifier) @font-lock-variable-use-face "]")) |
| 545 | 550 | ||
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 3dee1a58e44..9b39e974f1e 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -128,6 +128,11 @@ | |||
| 128 | :link '(custom-manual "(flymake) Top") | 128 | :link '(custom-manual "(flymake) Top") |
| 129 | :group 'tools) | 129 | :group 'tools) |
| 130 | 130 | ||
| 131 | (add-to-list 'customize-package-emacs-version-alist | ||
| 132 | '(Flymake ("1.3.4" . "30.1") | ||
| 133 | ("1.3.5" . "30.1") | ||
| 134 | ("1.3.6" . "30.1"))) | ||
| 135 | |||
| 131 | (defcustom flymake-error-bitmap '(flymake-double-exclamation-mark | 136 | (defcustom flymake-error-bitmap '(flymake-double-exclamation-mark |
| 132 | compilation-error) | 137 | compilation-error) |
| 133 | "Bitmap (a symbol) used in the fringe for indicating errors. | 138 | "Bitmap (a symbol) used in the fringe for indicating errors. |
diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 6fa3e51b34b..857be185fcf 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el | |||
| @@ -281,7 +281,7 @@ values of OVERRIDE." | |||
| 281 | lua-ts--multi-line-comment-start | 281 | lua-ts--multi-line-comment-start |
| 282 | (parent-is "comment_content") | 282 | (parent-is "comment_content") |
| 283 | (parent-is "string_content") | 283 | (parent-is "string_content") |
| 284 | (node-is "]]")) | 284 | (or (node-is "]]") (node-is "comment_end"))) |
| 285 | no-indent 0) | 285 | no-indent 0) |
| 286 | ((and (n-p-gp "field" "table_constructor" "arguments") | 286 | ((and (n-p-gp "field" "table_constructor" "arguments") |
| 287 | lua-ts--multi-arg-function-call-matcher | 287 | lua-ts--multi-arg-function-call-matcher |
diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el index 2bb31988290..3950443c01e 100644 --- a/lisp/progmodes/modula2.el +++ b/lisp/progmodes/modula2.el | |||
| @@ -97,7 +97,7 @@ | |||
| 97 | "C-c C-c" #'m2-compile) | 97 | "C-c C-c" #'m2-compile) |
| 98 | 98 | ||
| 99 | (defcustom m2-indent 5 | 99 | (defcustom m2-indent 5 |
| 100 | "This variable gives the indentation in Modula-2 mode." | 100 | "Indentation in Modula-2 mode." |
| 101 | :type 'integer | 101 | :type 'integer |
| 102 | :safe (lambda (v) (or (null v) (integerp v)))) | 102 | :safe (lambda (v) (or (null v) (integerp v)))) |
| 103 | 103 | ||
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 4c37ef45ddf..45e6e37ceb2 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -2584,6 +2584,7 @@ the gem \"rubocop\". When t, it is used unconditionally." | |||
| 2584 | :type '(choice (const :tag "Always" t) | 2584 | :type '(choice (const :tag "Always" t) |
| 2585 | (const :tag "No" nil) | 2585 | (const :tag "No" nil) |
| 2586 | (const :tag "If rubocop is in Gemfile" check)) | 2586 | (const :tag "If rubocop is in Gemfile" check)) |
| 2587 | :version "30.1" | ||
| 2587 | :safe 'booleanp) | 2588 | :safe 'booleanp) |
| 2588 | 2589 | ||
| 2589 | (defun ruby-flymake-rubocop (report-fn &rest _args) | 2590 | (defun ruby-flymake-rubocop (report-fn &rest _args) |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 58dc234adfe..c9c0840c9db 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -691,12 +691,14 @@ Set to 0 to have all directives start at the left side of the screen." | |||
| 691 | (defcustom verilog-indent-ignore-multiline-defines t | 691 | (defcustom verilog-indent-ignore-multiline-defines t |
| 692 | "Non-nil means ignore indentation on lines that are part of a multiline define." | 692 | "Non-nil means ignore indentation on lines that are part of a multiline define." |
| 693 | :group 'verilog-mode-indent | 693 | :group 'verilog-mode-indent |
| 694 | :version "30.1" | ||
| 694 | :type 'boolean) | 695 | :type 'boolean) |
| 695 | (put 'verilog-indent-ignore-multiline-defines 'safe-local-variable #'verilog-booleanp) | 696 | (put 'verilog-indent-ignore-multiline-defines 'safe-local-variable #'verilog-booleanp) |
| 696 | 697 | ||
| 697 | (defcustom verilog-indent-ignore-regexp nil | 698 | (defcustom verilog-indent-ignore-regexp nil |
| 698 | "Regexp that matches lines that should be ignored for indentation." | 699 | "Regexp that matches lines that should be ignored for indentation." |
| 699 | :group 'verilog-mode-indent | 700 | :group 'verilog-mode-indent |
| 701 | :version "30.1" | ||
| 700 | :type 'boolean) | 702 | :type 'boolean) |
| 701 | (put 'verilog-indent-ignore-regexp 'safe-local-variable #'stringp) | 703 | (put 'verilog-indent-ignore-regexp 'safe-local-variable #'stringp) |
| 702 | 704 | ||
| @@ -748,6 +750,7 @@ Otherwise, line them up." | |||
| 748 | "Non-nil means indent classes inside packages. | 750 | "Non-nil means indent classes inside packages. |
| 749 | Otherwise, classes have zero indentation." | 751 | Otherwise, classes have zero indentation." |
| 750 | :group 'verilog-mode-indent | 752 | :group 'verilog-mode-indent |
| 753 | :version "30.1" | ||
| 751 | :type 'boolean) | 754 | :type 'boolean) |
| 752 | (put 'verilog-indent-class-inside-pkg 'safe-local-variable #'verilog-booleanp) | 755 | (put 'verilog-indent-class-inside-pkg 'safe-local-variable #'verilog-booleanp) |
| 753 | 756 | ||
| @@ -761,6 +764,7 @@ Otherwise else is lined up with first character on line holding matching if." | |||
| 761 | (defcustom verilog-align-decl-expr-comments t | 764 | (defcustom verilog-align-decl-expr-comments t |
| 762 | "Non-nil means align declaration and expressions comments." | 765 | "Non-nil means align declaration and expressions comments." |
| 763 | :group 'verilog-mode-indent | 766 | :group 'verilog-mode-indent |
| 767 | :version "30.1" | ||
| 764 | :type 'boolean) | 768 | :type 'boolean) |
| 765 | (put 'verilog-align-decl-expr-comments 'safe-local-variable #'verilog-booleanp) | 769 | (put 'verilog-align-decl-expr-comments 'safe-local-variable #'verilog-booleanp) |
| 766 | 770 | ||
| @@ -768,18 +772,21 @@ Otherwise else is lined up with first character on line holding matching if." | |||
| 768 | "Distance (in spaces) between longest declaration/expression and comments. | 772 | "Distance (in spaces) between longest declaration/expression and comments. |
| 769 | Only works if `verilog-align-decl-expr-comments' is non-nil." | 773 | Only works if `verilog-align-decl-expr-comments' is non-nil." |
| 770 | :group 'verilog-mode-indent | 774 | :group 'verilog-mode-indent |
| 775 | :version "30.1" | ||
| 771 | :type 'integer) | 776 | :type 'integer) |
| 772 | (put 'verilog-align-comment-distance 'safe-local-variable #'integerp) | 777 | (put 'verilog-align-comment-distance 'safe-local-variable #'integerp) |
| 773 | 778 | ||
| 774 | (defcustom verilog-align-assign-expr nil | 779 | (defcustom verilog-align-assign-expr nil |
| 775 | "Non-nil means align expressions of continuous assignments." | 780 | "Non-nil means align expressions of continuous assignments." |
| 776 | :group 'verilog-mode-indent | 781 | :group 'verilog-mode-indent |
| 782 | :version "30.1" | ||
| 777 | :type 'boolean) | 783 | :type 'boolean) |
| 778 | (put 'verilog-align-assign-expr 'safe-local-variable #'verilog-booleanp) | 784 | (put 'verilog-align-assign-expr 'safe-local-variable #'verilog-booleanp) |
| 779 | 785 | ||
| 780 | (defcustom verilog-align-typedef-regexp nil | 786 | (defcustom verilog-align-typedef-regexp nil |
| 781 | "Regexp that matches user typedefs for declaration alignment." | 787 | "Regexp that matches user typedefs for declaration alignment." |
| 782 | :group 'verilog-mode-indent | 788 | :group 'verilog-mode-indent |
| 789 | :version "30.1" | ||
| 783 | :type '(choice (regexp :tag "Regexp") | 790 | :type '(choice (regexp :tag "Regexp") |
| 784 | (const :tag "None" nil))) | 791 | (const :tag "None" nil))) |
| 785 | (put 'verilog-align-typedef-regexp 'safe-local-variable #'stringp) | 792 | (put 'verilog-align-typedef-regexp 'safe-local-variable #'stringp) |
| @@ -787,6 +794,7 @@ Only works if `verilog-align-decl-expr-comments' is non-nil." | |||
| 787 | (defcustom verilog-align-typedef-words nil | 794 | (defcustom verilog-align-typedef-words nil |
| 788 | "List of words that match user typedefs for declaration alignment." | 795 | "List of words that match user typedefs for declaration alignment." |
| 789 | :group 'verilog-mode-indent | 796 | :group 'verilog-mode-indent |
| 797 | :version "30.1" | ||
| 790 | :type '(repeat string)) | 798 | :type '(repeat string)) |
| 791 | (put 'verilog-align-typedef-words 'safe-local-variable #'listp) | 799 | (put 'verilog-align-typedef-words 'safe-local-variable #'listp) |
| 792 | 800 | ||
| @@ -939,6 +947,7 @@ always be saved." | |||
| 939 | (defcustom verilog-fontify-variables t | 947 | (defcustom verilog-fontify-variables t |
| 940 | "Non-nil means fontify declaration variables." | 948 | "Non-nil means fontify declaration variables." |
| 941 | :group 'verilog-mode-actions | 949 | :group 'verilog-mode-actions |
| 950 | :version "30.1" | ||
| 942 | :type 'boolean) | 951 | :type 'boolean) |
| 943 | (put 'verilog-fontify-variables 'safe-local-variable #'verilog-booleanp) | 952 | (put 'verilog-fontify-variables 'safe-local-variable #'verilog-booleanp) |
| 944 | 953 | ||
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el index 598328dddea..b9c2ea95169 100644 --- a/lisp/progmodes/xscheme.el +++ b/lisp/progmodes/xscheme.el | |||
| @@ -55,8 +55,8 @@ | |||
| 55 | "The tail of the Scheme expressions ring whose car is the last thing yanked.") | 55 | "The tail of the Scheme expressions ring whose car is the last thing yanked.") |
| 56 | 56 | ||
| 57 | (defvar-local xscheme-running-p nil | 57 | (defvar-local xscheme-running-p nil |
| 58 | "This variable, if nil, indicates that the scheme process is | 58 | "If nil, the scheme process is waiting for input. |
| 59 | waiting for input. Otherwise, it is busy evaluating something.") | 59 | Otherwise, it is busy evaluating something.") |
| 60 | 60 | ||
| 61 | (defconst xscheme-control-g-synchronization-p t | 61 | (defconst xscheme-control-g-synchronization-p t |
| 62 | "If non-nil, insert markers in the scheme input stream to indicate when | 62 | "If non-nil, insert markers in the scheme input stream to indicate when |
| @@ -64,8 +64,8 @@ control-g interrupts were signaled. Do not allow more control-g's to be | |||
| 64 | signaled until the scheme process acknowledges receipt.") | 64 | signaled until the scheme process acknowledges receipt.") |
| 65 | 65 | ||
| 66 | (defvar-local xscheme-control-g-disabled-p nil | 66 | (defvar-local xscheme-control-g-disabled-p nil |
| 67 | "This variable, if non-nil, indicates that a control-g is being processed | 67 | "If non-nil, a control-g is being processed by the scheme process, so |
| 68 | by the scheme process, so additional control-g's are to be ignored.") | 68 | additional control-g's are to be ignored.") |
| 69 | 69 | ||
| 70 | (defvar xscheme-string-receiver nil | 70 | (defvar xscheme-string-receiver nil |
| 71 | "Procedure to send the string argument from the scheme process.") | 71 | "Procedure to send the string argument from the scheme process.") |
diff --git a/lisp/register.el b/lisp/register.el index 407fd8a8779..3bf5e6cdf43 100644 --- a/lisp/register.el +++ b/lisp/register.el | |||
| @@ -422,7 +422,8 @@ Format of each entry is controlled by the variable `register-preview-function'." | |||
| 422 | (window-height . fit-window-to-buffer) | 422 | (window-height . fit-window-to-buffer) |
| 423 | (preserve-size . (nil . t))) | 423 | (preserve-size . (nil . t))) |
| 424 | "Window configuration for the register preview buffer." | 424 | "Window configuration for the register preview buffer." |
| 425 | :type display-buffer--action-custom-type) | 425 | :type display-buffer--action-custom-type |
| 426 | :version "30.1") | ||
| 426 | 427 | ||
| 427 | (defun register-preview-1 (buffer &optional show-empty types) | 428 | (defun register-preview-1 (buffer &optional show-empty types) |
| 428 | "Pop up a window showing the preview of registers in BUFFER. | 429 | "Pop up a window showing the preview of registers in BUFFER. |
diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index b206abec27f..8b4c6be422b 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el | |||
| @@ -165,6 +165,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'." | |||
| 165 | (defcustom vc-annotate-use-short-revision t | 165 | (defcustom vc-annotate-use-short-revision t |
| 166 | "If non-nil, \\[vc-annotate] will use short revisions in its buffer name." | 166 | "If non-nil, \\[vc-annotate] will use short revisions in its buffer name." |
| 167 | :type 'boolean | 167 | :type 'boolean |
| 168 | :version "30.1" | ||
| 168 | :group 'vc) | 169 | :group 'vc) |
| 169 | 170 | ||
| 170 | (defvar-keymap vc-annotate-mode-map | 171 | (defvar-keymap vc-annotate-mode-map |
diff --git a/lisp/which-key.el b/lisp/which-key.el index 6d3d5efdd03..484f34d102c 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el | |||
| @@ -1220,7 +1220,7 @@ total height." | |||
| 1220 | ;;; Show/hide which-key buffer | 1220 | ;;; Show/hide which-key buffer |
| 1221 | 1221 | ||
| 1222 | (defun which-key--hide-popup () | 1222 | (defun which-key--hide-popup () |
| 1223 | "Hide the `which-key' buffer." | 1223 | "Hide the which-key buffer." |
| 1224 | (unless (or which-key-persistent-popup | 1224 | (unless (or which-key-persistent-popup |
| 1225 | (member real-this-command which-key--paging-functions)) | 1225 | (member real-this-command which-key--paging-functions)) |
| 1226 | (setq which-key--last-try-2-loc nil) | 1226 | (setq which-key--last-try-2-loc nil) |