diff options
| author | Po Lu | 2024-06-30 10:06:09 +0800 |
|---|---|---|
| committer | Po Lu | 2024-06-30 10:06:09 +0800 |
| commit | e2561e267fd2eb37b140a293baec79096f03290b (patch) | |
| tree | 937291ce231a708b51541bbce5f76151b344a0e0 /lisp | |
| parent | f0f883da4b410c606b46b61c80b874ead08335ea (diff) | |
| parent | 72cf9964f3c0fd63332884b8145399f1784de7f1 (diff) | |
| download | emacs-e2561e267fd2eb37b140a293baec79096f03290b.tar.gz emacs-e2561e267fd2eb37b140a293baec79096f03290b.zip | |
Merge from savannah/emacs-30
72cf9964f3c Inaccuracy in efaq.texi
fc48e9e8ed5 ; Fix typos in DOS Makefile scripts
9b8d754579f ; * etc/NEWS: Explain Nextstep.
8819e5a45d5 Fix treesit crash (bug#71681)
eaf2dc96c1f ; Fix SHR test on MS-Windows
57880f597c5 Delete redundant mention of `with-eval-after-load'
ea8ce984342 * doc/misc/efaq.texi (New in Emacs 30): Fix typos.
45a20d781a9 ; Fix typos in symbols
d95f039af43 Document security fixes in FAQ
d063af203c8 Add "New in Emacs 30" to FAQ
ca6b484162b ; * etc/NEWS: Move "Minibuffer and Completions"
35c46663e49 ; * etc/NEWS: Move item to "Lisp Changes".
0515b38d289 ; * etc/NEWS: Move keyboard macro items closer together.
22af3a71039 ; * etc/NEWS: More copy-edits.
000ef8876ae ; * etc/NEWS: Move items to "Incompatible Lisp Changes".
4088dc8e4ce ; * etc/NEWS: Rearrange "Incompatible Lisp Changes".
179800f36bb ; * lisp/epg.el (epg--start): Add commentary about encoding.
73898f0214c Fix non-ASCII filename operatiion on EasyPG (bug#71500)
a65b6aac6b5 Silence warning with global minor mode :predicate
f5f7343ac41 ; * etc/NEWS: Move an item to "Startup Changes"
c95066bf188 ; * etc/NEWS: Move some Lisp items to better place.
bf7db88ce1f ; * etc/NEWS: Rearrange "Editing Changes in Emacs 30.1"
000424eb9eb ; * etc/NEWS: Make touch screen support more prominent.
5b5671587fb ; * etc/NEWS: Rearrange "Changes in Emacs 30.1".
31124abdefe ; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777).
44f269d6e60 Fix: make 'xwidget-webkit-scroll-backward' scroll backwards
358085997c6 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/...
736b7cad406 Add jsdoc support to php-ts-mode in <script> element
5f3d964e397 Update to Transient v0.7.2-4-gf75bc48d
# Conflicts:
# etc/NEWS
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/rmc.el | 7 | ||||
| -rw-r--r-- | lisp/epg.el | 6 | ||||
| -rw-r--r-- | lisp/erc/erc-common.el | 2 | ||||
| -rw-r--r-- | lisp/frameset.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-core.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-lilypond.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-refile.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/dcl-mode.el | 1 | ||||
| -rw-r--r-- | lisp/progmodes/ebrowse.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/eglot.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/php-ts-mode.el | 9 | ||||
| -rw-r--r-- | lisp/thingatpt.el | 5 | ||||
| -rw-r--r-- | lisp/transient.el | 8 | ||||
| -rw-r--r-- | lisp/which-key.el | 2 | ||||
| -rw-r--r-- | lisp/xwidget.el | 2 |
19 files changed, 39 insertions, 24 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 032e49840a8..6c56fd78859 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -1055,7 +1055,7 @@ If DST-N is specified, use it; otherwise assume it to be the current slot." | |||
| 1055 | "Set constant VAL to current slot." | 1055 | "Set constant VAL to current slot." |
| 1056 | (comp--add-const-to-relocs val) | 1056 | (comp--add-const-to-relocs val) |
| 1057 | ;; Leave relocation index nil on purpose, will be fixed-up in final | 1057 | ;; Leave relocation index nil on purpose, will be fixed-up in final |
| 1058 | ;; by `comp-finalize-relocs'. | 1058 | ;; by `comp--finalize-relocs'. |
| 1059 | (comp--emit `(setimm ,(comp--slot) ,val))) | 1059 | (comp--emit `(setimm ,(comp--slot) ,val))) |
| 1060 | 1060 | ||
| 1061 | (defun comp--make-curr-block (block-name entry-sp &optional addr) | 1061 | (defun comp--make-curr-block (block-name entry-sp &optional addr) |
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 12712cb2bc3..7006ae6c785 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -524,7 +524,8 @@ on if the hook has explicitly disabled it. | |||
| 524 | (progn | 524 | (progn |
| 525 | (put ',global-mode 'globalized-minor-mode t) | 525 | (put ',global-mode 'globalized-minor-mode t) |
| 526 | :autoload-end | 526 | :autoload-end |
| 527 | (defvar-local ,MODE-major-mode nil)) | 527 | (defvar-local ,MODE-major-mode nil) |
| 528 | ,@(when predicate `((defvar ,MODE-predicate)))) | ||
| 528 | ;; The actual global minor-mode | 529 | ;; The actual global minor-mode |
| 529 | (define-minor-mode ,global-mode | 530 | (define-minor-mode ,global-mode |
| 530 | ,(concat (format "Toggle %s in all buffers.\n" pretty-name) | 531 | ,(concat (format "Toggle %s in all buffers.\n" pretty-name) |
diff --git a/lisp/emacs-lisp/rmc.el b/lisp/emacs-lisp/rmc.el index dab119e8a99..1260b50b0c7 100644 --- a/lisp/emacs-lisp/rmc.el +++ b/lisp/emacs-lisp/rmc.el | |||
| @@ -228,10 +228,9 @@ Usage example: | |||
| 228 | (when (setq command | 228 | (when (setq command |
| 229 | (let ((current-key-remap-sequence | 229 | (let ((current-key-remap-sequence |
| 230 | (vector tchar))) | 230 | (vector tchar))) |
| 231 | ;; Provide an empty prompt to `t-s-t-t' so | 231 | ;; Provide an empty prompt so that it may |
| 232 | ;; that it may not repeatedly display | 232 | ;; not repeatedly display and/or disable |
| 233 | ;; and/or disable the on-screen keyboard, | 233 | ;; the on-screen keyboard, or move point. |
| 234 | ;; or move point. | ||
| 235 | (touch-screen-translate-touch ""))) | 234 | (touch-screen-translate-touch ""))) |
| 236 | (setq command (if (> (length command) 0) | 235 | (setq command (if (> (length command) 0) |
| 237 | (aref command 0) | 236 | (aref command 0) |
diff --git a/lisp/epg.el b/lisp/epg.el index 7bec91f616d..494bdd68c41 100644 --- a/lisp/epg.el +++ b/lisp/epg.el | |||
| @@ -676,10 +676,14 @@ callback data (if any)." | |||
| 676 | :command (cons (epg-context-program context) | 676 | :command (cons (epg-context-program context) |
| 677 | args) | 677 | args) |
| 678 | :connection-type 'pipe | 678 | :connection-type 'pipe |
| 679 | :coding 'raw-text | 679 | :coding '(raw-text . nil) |
| 680 | :filter #'epg--process-filter | 680 | :filter #'epg--process-filter |
| 681 | :stderr error-process | 681 | :stderr error-process |
| 682 | :noquery t)))) | 682 | :noquery t)))) |
| 683 | ;; We encode and decode ourselves the text sent/received from gpg, | ||
| 684 | ;; so the below disables automatic encoding and decoding by | ||
| 685 | ;; subprocess communications routines. | ||
| 686 | (set-process-coding-system process 'raw-text 'raw-text) | ||
| 683 | (setf (epg-context-process context) process))) | 687 | (setf (epg-context-process context) process))) |
| 684 | 688 | ||
| 685 | (defun epg--process-filter (process input) | 689 | (defun epg--process-filter (process input) |
diff --git a/lisp/erc/erc-common.el b/lisp/erc/erc-common.el index 3577e697515..057e7981515 100644 --- a/lisp/erc/erc-common.el +++ b/lisp/erc/erc-common.el | |||
| @@ -363,7 +363,7 @@ instead of a `set' state, which precludes any actual saving." | |||
| 363 | Non-nil inside an ERC module's activation (or deactivation) | 363 | Non-nil inside an ERC module's activation (or deactivation) |
| 364 | command, such as `erc-spelling-enable', when it's been called | 364 | command, such as `erc-spelling-enable', when it's been called |
| 365 | indirectly via the module's minor-mode toggle, i.e., | 365 | indirectly via the module's minor-mode toggle, i.e., |
| 366 | `erc-spelling-mode'. Nil otherwise. Its value is either the | 366 | `erc-spelling-mode'. nil otherwise. Its value is either the |
| 367 | symbol `toggle' or an integer produced by `prefix-numeric-value'. | 367 | symbol `toggle' or an integer produced by `prefix-numeric-value'. |
| 368 | See Info node `(elisp) Defining Minor Modes' for more.") | 368 | See Info node `(elisp) Defining Minor Modes' for more.") |
| 369 | 369 | ||
diff --git a/lisp/frameset.el b/lisp/frameset.el index 436e51905fb..18e2a3ac666 100644 --- a/lisp/frameset.el +++ b/lisp/frameset.el | |||
| @@ -200,7 +200,7 @@ Properties can be set with | |||
| 200 | ;; - can be ignored by window managers (most positional args, like `height', | 200 | ;; - can be ignored by window managers (most positional args, like `height', |
| 201 | ;; `width', `left' and `top', and others, like `auto-raise', `auto-lower') | 201 | ;; `width', `left' and `top', and others, like `auto-raise', `auto-lower') |
| 202 | ;; - can be set externally in X resources or Window registry (again, most | 202 | ;; - can be set externally in X resources or Window registry (again, most |
| 203 | ;; positional parameters, and also `toolbar-lines', `menu-bar-lines' etc.) | 203 | ;; positional parameters, and also `tool-bar-lines', `menu-bar-lines' etc.) |
| 204 | ;, - can contain references to live objects (`buffer-list', `minibuffer') or | 204 | ;, - can contain references to live objects (`buffer-list', `minibuffer') or |
| 205 | ;; code (`buffer-predicate') | 205 | ;; code (`buffer-predicate') |
| 206 | ;; - are set automatically, and cannot be changed (`window-id', `parent-id'), | 206 | ;; - are set automatically, and cannot be changed (`window-id', `parent-id'), |
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index 727ace84463..bd96556846f 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -1778,7 +1778,7 @@ shown below. | |||
| 1778 | 1778 | ||
| 1779 | #+PROPERTY: var foo=1, bar=2 | 1779 | #+PROPERTY: var foo=1, bar=2 |
| 1780 | 1780 | ||
| 1781 | HEADER-ARGUMENTS is alist of all the arguments." | 1781 | HEADER-ARGUMENTS is an alist of all the arguments." |
| 1782 | (let (results) | 1782 | (let (results) |
| 1783 | (mapc (lambda (pair) | 1783 | (mapc (lambda (pair) |
| 1784 | (if (eq (car pair) :var) | 1784 | (if (eq (car pair) :var) |
diff --git a/lisp/org/ob-lilypond.el b/lisp/org/ob-lilypond.el index a8d85ce7c85..ef747d9bb2c 100644 --- a/lisp/org/ob-lilypond.el +++ b/lisp/org/ob-lilypond.el | |||
| @@ -160,7 +160,7 @@ Otherwise, execute block according to header settings." | |||
| 160 | (org-babel-lilypond-process-basic body params))) | 160 | (org-babel-lilypond-process-basic body params))) |
| 161 | 161 | ||
| 162 | (defun org-babel-lilypond-tangle () | 162 | (defun org-babel-lilypond-tangle () |
| 163 | "Tangle lilypond blocks, then `org-babel-liypond-execute-tangled-ly'." | 163 | "Tangle lilypond blocks, then `org-babel-lilypond-execute-tangled-ly'." |
| 164 | (interactive) | 164 | (interactive) |
| 165 | (if (org-babel-tangle nil "yes" "lilypond") | 165 | (if (org-babel-tangle nil "yes" "lilypond") |
| 166 | (org-babel-lilypond-execute-tangled-ly) nil)) | 166 | (org-babel-lilypond-execute-tangled-ly) nil)) |
diff --git a/lisp/org/org-refile.el b/lisp/org/org-refile.el index c8e64903c33..391e2402859 100644 --- a/lisp/org/org-refile.el +++ b/lisp/org/org-refile.el | |||
| @@ -557,7 +557,7 @@ prefix argument (`C-u C-u C-u C-c C-w')." | |||
| 557 | (let ((origin (point-marker))) | 557 | (let ((origin (point-marker))) |
| 558 | ;; Handle special case when we refile to exactly same | 558 | ;; Handle special case when we refile to exactly same |
| 559 | ;; location with tree promotion/demotion. Point marker | 559 | ;; location with tree promotion/demotion. Point marker |
| 560 | ;; saved by `org-width-wide-buffer' (`save-excursion') | 560 | ;; saved by `org-with-wide-buffer' (`save-excursion') |
| 561 | ;; will then remain before the inserted subtree in | 561 | ;; will then remain before the inserted subtree in |
| 562 | ;; unexpected location. | 562 | ;; unexpected location. |
| 563 | (set-marker-insertion-type origin t) | 563 | (set-marker-insertion-type origin t) |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 0b50844732f..7dc850cb839 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -13864,7 +13864,7 @@ comment at the start of cc-engine.el for more info." | |||
| 13864 | ;; | 13864 | ;; |
| 13865 | ;; This is true when point is at the last non syntactic WS position on the | 13865 | ;; This is true when point is at the last non syntactic WS position on the |
| 13866 | ;; line, there is a macro call last on the line, and this particular macro's | 13866 | ;; line, there is a macro call last on the line, and this particular macro's |
| 13867 | ;; name is defined by the regexp `c-vs-macro-regexp' as not needing a | 13867 | ;; name is defined by the regexp `c-macro-with-semi-re' as not needing a |
| 13868 | ;; semicolon. | 13868 | ;; semicolon. |
| 13869 | (save-excursion | 13869 | (save-excursion |
| 13870 | (save-restriction | 13870 | (save-restriction |
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el index b8ca1f2d600..686555221cb 100644 --- a/lisp/progmodes/dcl-mode.el +++ b/lisp/progmodes/dcl-mode.el | |||
| @@ -500,7 +500,6 @@ Variables controlling indentation style and extra features: | |||
| 500 | dcl-imenu-label-call | 500 | dcl-imenu-label-call |
| 501 | Change the text that is used as sub-listing labels in imenu. | 501 | Change the text that is used as sub-listing labels in imenu. |
| 502 | 502 | ||
| 503 | To run code after DCL mode has loaded, use `with-eval-after-load'. | ||
| 504 | Turning on DCL mode calls the value of the variable `dcl-mode-hook' | 503 | Turning on DCL mode calls the value of the variable `dcl-mode-hook' |
| 505 | with no args, if that value is non-nil. | 504 | with no args, if that value is non-nil. |
| 506 | 505 | ||
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 37b3a5f190b..a8a0495ab11 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -851,7 +851,7 @@ Return the buffer created." | |||
| 851 | For each member, a symbol is added to the table. Members are | 851 | For each member, a symbol is added to the table. Members are |
| 852 | extracted from the buffer-local tree `ebrowse--tree-table'. | 852 | extracted from the buffer-local tree `ebrowse--tree-table'. |
| 853 | 853 | ||
| 854 | Each symbol has its property `ebrowse-info' set to a list (TREE MEMBER-LIST | 854 | Each symbol has its property `ebrowse-tree' set to a list (TREE MEMBER-LIST |
| 855 | MEMBER) where TREE is the tree in which the member is defined, | 855 | MEMBER) where TREE is the tree in which the member is defined, |
| 856 | MEMBER-LIST is a symbol describing the member list in which the member | 856 | MEMBER-LIST is a symbol describing the member list in which the member |
| 857 | is found, and MEMBER is a MEMBER structure describing the member. | 857 | is found, and MEMBER is a MEMBER structure describing the member. |
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index df4cbe50dc0..bb6b0281d9f 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el | |||
| @@ -2544,7 +2544,7 @@ THINGS are either registrations or unregisterations (sic)." | |||
| 2544 | 2544 | ||
| 2545 | (defun eglot--TextDocumentIdentifier () | 2545 | (defun eglot--TextDocumentIdentifier () |
| 2546 | "Compute TextDocumentIdentifier object for current buffer. | 2546 | "Compute TextDocumentIdentifier object for current buffer. |
| 2547 | Sets `eglot--TextDocumentIdentifier-uri' (which see) as a side effect." | 2547 | Sets `eglot--TextDocumentIdentifier-cache' (which see) as a side effect." |
| 2548 | (unless eglot--TextDocumentIdentifier-cache | 2548 | (unless eglot--TextDocumentIdentifier-cache |
| 2549 | (let ((truename (file-truename (or buffer-file-name | 2549 | (let ((truename (file-truename (or buffer-file-name |
| 2550 | (ignore-errors | 2550 | (ignore-errors |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index c8b086cfad2..0ce5e1df794 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -5122,7 +5122,7 @@ commands) or source buffers (that display program source code)." | |||
| 5122 | 5122 | ||
| 5123 | (defun gdb--buffer-type (buffer) | 5123 | (defun gdb--buffer-type (buffer) |
| 5124 | "Return the type of BUFFER if it is a function buffer. | 5124 | "Return the type of BUFFER if it is a function buffer. |
| 5125 | Buffer type is like `gdb-registers-type', `gdb-stack-buffer'. | 5125 | Buffer type is like `gdb-registers-buffer', `gdb-stack-buffer'. |
| 5126 | These symbols are used by `gdb-get-buffer-create'. | 5126 | These symbols are used by `gdb-get-buffer-create'. |
| 5127 | 5127 | ||
| 5128 | Return nil if BUFFER is not a GDB function buffer." | 5128 | Return nil if BUFFER is not a GDB function buffer." |
diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 826c131ca70..1298b39311b 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el | |||
| @@ -36,6 +36,7 @@ | |||
| 36 | ;; * https://github.com/tree-sitter/tree-sitter-php | 36 | ;; * https://github.com/tree-sitter/tree-sitter-php |
| 37 | ;; * https://github.com/tree-sitter/tree-sitter-html | 37 | ;; * https://github.com/tree-sitter/tree-sitter-html |
| 38 | ;; * https://github.com/tree-sitter/tree-sitter-javascript | 38 | ;; * https://github.com/tree-sitter/tree-sitter-javascript |
| 39 | ;; * https://github.com/tree-sitter/tree-sitter-jsdoc | ||
| 39 | ;; * https://github.com/tree-sitter/tree-sitter-css | 40 | ;; * https://github.com/tree-sitter/tree-sitter-css |
| 40 | ;; * https://github.com/claytonrcarter/tree-sitter-phpdoc | 41 | ;; * https://github.com/claytonrcarter/tree-sitter-phpdoc |
| 41 | ;; | 42 | ;; |
| @@ -86,6 +87,7 @@ | |||
| 86 | (phpdoc . ("https://github.com/claytonrcarter/tree-sitter-phpdoc")) | 87 | (phpdoc . ("https://github.com/claytonrcarter/tree-sitter-phpdoc")) |
| 87 | (html . ("https://github.com/tree-sitter/tree-sitter-html" "v0.20.3")) | 88 | (html . ("https://github.com/tree-sitter/tree-sitter-html" "v0.20.3")) |
| 88 | (javascript . ("https://github.com/tree-sitter/tree-sitter-javascript" "v0.21.2")) | 89 | (javascript . ("https://github.com/tree-sitter/tree-sitter-javascript" "v0.21.2")) |
| 90 | (jsdoc . ("https://github.com/tree-sitter/tree-sitter-jsdoc" "v0.21.0")) | ||
| 89 | (css . ("https://github.com/tree-sitter/tree-sitter-css" "v0.21.0"))) | 91 | (css . ("https://github.com/tree-sitter/tree-sitter-css" "v0.21.0"))) |
| 90 | "Treesitter language parsers required by `php-ts-mode'. | 92 | "Treesitter language parsers required by `php-ts-mode'. |
| 91 | You can customize this variable if you want to stick to a specific | 93 | You can customize this variable if you want to stick to a specific |
| @@ -1296,6 +1298,7 @@ Depends on `c-ts-common-comment-setup'." | |||
| 1296 | (treesit-ready-p 'phpdoc) | 1298 | (treesit-ready-p 'phpdoc) |
| 1297 | (treesit-ready-p 'html) | 1299 | (treesit-ready-p 'html) |
| 1298 | (treesit-ready-p 'javascript) | 1300 | (treesit-ready-p 'javascript) |
| 1301 | (treesit-ready-p 'jsdoc) | ||
| 1299 | (treesit-ready-p 'css))) | 1302 | (treesit-ready-p 'css))) |
| 1300 | (error "Tree-sitter for PHP isn't | 1303 | (error "Tree-sitter for PHP isn't |
| 1301 | available. You can install the parsers with M-x | 1304 | available. You can install the parsers with M-x |
| @@ -1334,6 +1337,12 @@ Depends on `c-ts-common-comment-setup'." | |||
| 1334 | (start_tag (tag_name)) | 1337 | (start_tag (tag_name)) |
| 1335 | (raw_text) @cap)) | 1338 | (raw_text) @cap)) |
| 1336 | 1339 | ||
| 1340 | :embed 'jsdoc | ||
| 1341 | :host 'javascript | ||
| 1342 | :local t | ||
| 1343 | `(((comment) @cap | ||
| 1344 | (:match ,js--treesit-jsdoc-beginning-regexp @cap))) | ||
| 1345 | |||
| 1337 | :embed 'css | 1346 | :embed 'css |
| 1338 | :host 'html | 1347 | :host 'html |
| 1339 | :offset '(1 . -1) | 1348 | :offset '(1 . -1) |
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index a593b6c6241..3cfd3905701 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el | |||
| @@ -778,7 +778,10 @@ Signal an error if the entire string was not used." | |||
| 778 | 778 | ||
| 779 | ;;;###autoload | 779 | ;;;###autoload |
| 780 | (defun sexp-at-point () | 780 | (defun sexp-at-point () |
| 781 | "Return the sexp at point, or nil if none is found." | 781 | "Return the sexp at point, or nil if none is found. |
| 782 | This is for returning the Lisp object represented by text at point; | ||
| 783 | use (thing-at-point \\='sexp) instead if you rather want the balanced | ||
| 784 | expression at point regardless of Lisp syntax." | ||
| 782 | (form-at-point 'sexp)) | 785 | (form-at-point 'sexp)) |
| 783 | ;;;###autoload | 786 | ;;;###autoload |
| 784 | (defun symbol-at-point () | 787 | (defun symbol-at-point () |
diff --git a/lisp/transient.el b/lisp/transient.el index 805b0acd6f3..312ed540f73 100644 --- a/lisp/transient.el +++ b/lisp/transient.el | |||
| @@ -2550,7 +2550,10 @@ value. Otherwise return CHILDREN as is." | |||
| 2550 | (transient--pop-keymap 'transient--redisplay-map) | 2550 | (transient--pop-keymap 'transient--redisplay-map) |
| 2551 | (setq transient--redisplay-map new) | 2551 | (setq transient--redisplay-map new) |
| 2552 | (transient--push-keymap 'transient--redisplay-map)) | 2552 | (transient--push-keymap 'transient--redisplay-map)) |
| 2553 | (transient--redisplay))))))) | 2553 | (transient--redisplay))))) |
| 2554 | (setq transient-current-prefix nil) | ||
| 2555 | (setq transient-current-command nil) | ||
| 2556 | (setq transient-current-suffixes nil))) | ||
| 2554 | 2557 | ||
| 2555 | (defun transient--post-exit (&optional command) | 2558 | (defun transient--post-exit (&optional command) |
| 2556 | (transient--debug 'post-exit) | 2559 | (transient--debug 'post-exit) |
| @@ -2573,9 +2576,6 @@ value. Otherwise return CHILDREN as is." | |||
| 2573 | (remove-hook 'pre-command-hook #'transient--pre-command) | 2576 | (remove-hook 'pre-command-hook #'transient--pre-command) |
| 2574 | (remove-hook 'post-command-hook #'transient--post-command) | 2577 | (remove-hook 'post-command-hook #'transient--post-command) |
| 2575 | (advice-remove 'recursive-edit #'transient--recursive-edit)) | 2578 | (advice-remove 'recursive-edit #'transient--recursive-edit)) |
| 2576 | (setq transient-current-prefix nil) | ||
| 2577 | (setq transient-current-command nil) | ||
| 2578 | (setq transient-current-suffixes nil) | ||
| 2579 | (let ((resume (and transient--stack | 2579 | (let ((resume (and transient--stack |
| 2580 | (not (memq transient--exitp '(replace suspend)))))) | 2580 | (not (memq transient--exitp '(replace suspend)))))) |
| 2581 | (unless (or resume (eq transient--exitp 'replace)) | 2581 | (unless (or resume (eq transient--exitp 'replace)) |
diff --git a/lisp/which-key.el b/lisp/which-key.el index 8ad2ba2c365..677a84b328d 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el | |||
| @@ -1614,7 +1614,7 @@ Within these categories order using `which-key-key-order'." | |||
| 1614 | (when found `(replaced . ,key-binding)))) | 1614 | (when found `(replaced . ,key-binding)))) |
| 1615 | 1615 | ||
| 1616 | (defun which-key--maybe-replace (key-binding) | 1616 | (defun which-key--maybe-replace (key-binding) |
| 1617 | "Use `which-key--replacement-alist' to maybe replace KEY-BINDING. | 1617 | "Use `which-key-replacement-alist' to maybe replace KEY-BINDING. |
| 1618 | KEY-BINDING is a cons cell of the form \(KEY . BINDING\) each of | 1618 | KEY-BINDING is a cons cell of the form \(KEY . BINDING\) each of |
| 1619 | which are strings. KEY is of the form produced by `key-binding'." | 1619 | which are strings. KEY is of the form produced by `key-binding'." |
| 1620 | (let* ((replacer (if which-key-allow-multiple-replacements | 1620 | (let* ((replacer (if which-key-allow-multiple-replacements |
diff --git a/lisp/xwidget.el b/lisp/xwidget.el index cca01c8cb3a..bf5987d742f 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el | |||
| @@ -378,7 +378,7 @@ one char." | |||
| 378 | (> (window-hscroll) 0)) | 378 | (> (window-hscroll) 0)) |
| 379 | (set-window-hscroll nil (- (window-hscroll) n)) | 379 | (set-window-hscroll nil (- (window-hscroll) n)) |
| 380 | (xwidget-webkit-execute-script session | 380 | (xwidget-webkit-execute-script session |
| 381 | (format "window.scrollBy(%-d, 0);" | 381 | (format "window.scrollBy(-%d, 0);" |
| 382 | (* n (window-font-width))))))) | 382 | (* n (window-font-width))))))) |
| 383 | 383 | ||
| 384 | (defun xwidget-webkit-scroll-top () | 384 | (defun xwidget-webkit-scroll-top () |