]> git.eshelyaron.com Git - emacs.git/log
emacs.git
15 months agoFix two defcustom :types
Stefan Kangas [Fri, 1 Sep 2023 20:17:48 +0000 (22:17 +0200)]
Fix two defcustom :types

* lisp/frame.el (blink-cursor-blinks):
* lisp/url/url-vars.el (url-max-redirections): Revert defcustom :types
back to integer.  (Bug#65655)

15 months agoFix `image-auto-resize-on-window-resize' custom :type
Manuel Giraud [Wed, 30 Aug 2023 15:38:57 +0000 (17:38 +0200)]
Fix `image-auto-resize-on-window-resize' custom :type

* lisp/image-mode.el (image-auto-resize-on-window-resize): Change
custom :type from integer to number to be able to set below 1
second.  (Bug#65626)

15 months agoAdd "terraform-ls" LSP server to Eglot
Ross Timson [Thu, 31 Aug 2023 19:28:22 +0000 (20:28 +0100)]
Add "terraform-ls" LSP server to Eglot

* lisp/progmodes/eglot.el (eglot-server-programs): Add "terraform-ls",
the official Terraform LSP server.  (Bug#65671)

Copyright-paperwork-exempt: yes

15 months ago; Improve documentation of 'char-table-range'
Eli Zaretskii [Fri, 1 Sep 2023 13:33:40 +0000 (16:33 +0300)]
; Improve documentation of 'char-table-range'

* doc/lispref/sequences.texi (Char-Tables):
* src/chartab.c (Fchar_table_range): Clarify what
'char-table-range' returns for an argument that is a cons cell.

15 months agoFix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests
Eli Zaretskii [Fri, 1 Sep 2023 13:08:36 +0000 (16:08 +0300)]
Fix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests

* lisp/vc/vc-hg.el (vc-hg-state-slow): Non-existing files emit a
different message on MS-Windows; support that.
* lisp/vc/vc-git.el (vc-git-checkin): Make sure
'default-directory' is not nil when calling
'make-nearby-temp-file' on MS-Windows.

* test/lisp/vc/vc-tests.el (vc-test--version-diff): Run
'default-directory' through 'file-truename', otherwise the
'vc-test-cvs06-version-diff' test might fail on MS-Windows.

15 months agoAdd syntax-propertize-function to js-ts-mode
Dmitry Gutov [Fri, 1 Sep 2023 01:41:15 +0000 (04:41 +0300)]
Add syntax-propertize-function to js-ts-mode

* lisp/progmodes/js.el (js-ts--s-p-query):
New variable (bug#65470).
(js-ts--syntax-propertize): New function.
(js-ts-mode): Use it.

15 months ago; * src/treesit.c: Add ts function boilerplate
Yuan Fu [Thu, 31 Aug 2023 23:00:54 +0000 (16:00 -0700)]
; * src/treesit.c: Add ts function boilerplate

15 months agoImprove performance of treesit_cursor_helper_1
Yuan Fu [Thu, 31 Aug 2023 03:53:03 +0000 (20:53 -0700)]
Improve performance of treesit_cursor_helper_1

* src/treesit.c: (treesit_cursor_helper_1): Use
ts_tree_cursor_goto_first_child_for_byte to speed up traversing among
siblings.  The "while (ts_node_end_byte (cursor_node) < end_pos)" can
be removed with the check added in the loop below.

15 months ago* lisp/subr.el (combine-change-calls-1): Fix bug#64989
Stefan Monnier [Mon, 28 Aug 2023 16:12:42 +0000 (12:12 -0400)]
* lisp/subr.el (combine-change-calls-1): Fix bug#64989

Silence the spurious warning, and improve the warning while at it.
Do not merge to master.

15 months agoUpdate to Org 9.6.8-3-g21171d
Kyle Meyer [Mon, 28 Aug 2023 02:38:34 +0000 (22:38 -0400)]
Update to Org 9.6.8-3-g21171d

16 months agoEscape percent character in treesit--inspect-name (bug#65540)
Yuan Fu [Sun, 27 Aug 2023 21:49:56 +0000 (14:49 -0700)]
Escape percent character in treesit--inspect-name (bug#65540)

* lisp/treesit.el (treesit-inspect-node-at-point): Escape percent.

16 months agoDon't add an extraneous slash in remote PATH list in Eshell
Jim Porter [Sun, 27 Aug 2023 19:49:25 +0000 (12:49 -0700)]
Don't add an extraneous slash in remote PATH list in Eshell

Previously, in a remote directory, '(eshell-get-path)' would return a
list of strings like "/ssh:localhost://usr/bin".  While that shouldn't
break most things, it's not strictly correct either.  See bug#65551.

* lisp/eshell/esh-util.el (eshell-get-path): Use 'concat' instead of
'file-name-concat'.

* test/lisp/eshell/esh-util-tests.el: Require 'tramp' and
'eshell-tests-helpers'.
(esh-util-test/path/get, eshell-util-test/path/get-remote): New tests.

16 months agoFix Tramp on MS Windows
Michael Albinus [Sun, 27 Aug 2023 18:06:13 +0000 (20:06 +0200)]
Fix Tramp on MS Windows

* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
Apply `tramp-drop-volume-letter' consequently.

16 months ago* Fix native disassemble on Windows platforms (bug#65455)
Andrea Corallo [Sun, 27 Aug 2023 16:59:40 +0000 (18:59 +0200)]
* Fix native disassemble on Windows platforms (bug#65455)

* lisp/emacs-lisp/disass.el (disassemble-internal): Improve regexp.

16 months ago* Handle missing eln file when trying to disassble (bug#65455)
Andrea Corallo [Sun, 27 Aug 2023 14:51:16 +0000 (16:51 +0200)]
* Handle missing eln file when trying to disassble (bug#65455)

* lisp/emacs-lisp/disass.el (disassemble-internal): Handle missing
eln file.

16 months ago* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths
Andrea Corallo [Sun, 27 Aug 2023 14:07:30 +0000 (16:07 +0200)]
* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths

16 months agoUpdate to Transient v0.4.3
Jonas Bernoulli [Fri, 25 Aug 2023 20:22:47 +0000 (22:22 +0200)]
Update to Transient v0.4.3

16 months agoAdapt Eshell manual
Michael Albinus [Sun, 27 Aug 2023 11:20:37 +0000 (13:20 +0200)]
Adapt Eshell manual

* doc/misc/eshell.texi (Arguments): Mention more special
characters to be quoted in remote file names.  (Bug#65431)

16 months agoFix applying patches with Git on MS-Windows
Eli Zaretskii [Sun, 27 Aug 2023 05:24:39 +0000 (08:24 +0300)]
Fix applying patches with Git on MS-Windows

* lisp/vc/vc.el (vc-diff-internal): For Git, always suppress EOL
conversion when reading the diffs into a buffer.  Doc fix.
* lisp/vc/vc-git.el (vc-git-checkin): Make sure to suppress EOL
conversion when the patch file is written.  (Bug#65049)

16 months ago; Effect a safer version of that fix for Emacs 29
Po Lu [Sun, 27 Aug 2023 02:22:46 +0000 (10:22 +0800)]
; Effect a safer version of that fix for Emacs 29

* src/haikuterm.c (haiku_draw_stretch_glyph_string): Use
computed X value, as on X.

Do not merge to master.

16 months agoRepair bug#65068 on Emacs 29
Po Lu [Sat, 26 Aug 2023 10:12:24 +0000 (18:12 +0800)]
Repair bug#65068 on Emacs 29

* src/xterm.c (x_term_init): Disable ControlFallback library
control wherever present.  (bug#65068)

Do not merge to master.

16 months ago; * doc/emacs/sending.texi (Mail Aliases): Add some useful commands.
Eli Zaretskii [Sat, 26 Aug 2023 06:38:22 +0000 (09:38 +0300)]
; * doc/emacs/sending.texi (Mail Aliases): Add some useful commands.

16 months ago; Fix doc string of 'current-idle-time'
Eli Zaretskii [Fri, 25 Aug 2023 05:53:21 +0000 (08:53 +0300)]
; Fix doc string of 'current-idle-time'

* src/keyboard.c (Fcurrent_idle_time): Doc fix (bug#65512).

16 months agoFix custom :type of dired-mouse-drag-files
Stefan Kangas [Thu, 24 Aug 2023 20:42:19 +0000 (22:42 +0200)]
Fix custom :type of dired-mouse-drag-files

* lisp/dired.el (dired-mouse-drag-files): Fix :type to allow
specifying 'move'.  (Bug#65497)

16 months ago; Improve SMTPmail documentation about OAuth2
Eshel Yaron [Thu, 24 Aug 2023 17:17:51 +0000 (19:17 +0200)]
; Improve SMTPmail documentation about OAuth2

* doc/misc/smtpmail.texi (Authentication): Fix authentication
mechanism count and add index entries for OAuth 2.0.  (Bug#65507)

16 months agoAccount for string names in active file
James Thomas [Thu, 24 Aug 2023 07:05:51 +0000 (12:35 +0530)]
Account for string names in active file

Account also for strings when reading in group names from an active
file (bug#62812).
* lisp/gnus/nnmail.el (nnmail-parse-active): Make it similar to
gnus-active-to-gnus-format

16 months agoFix 'makefile-browser-client' variable initialization
Christoph Göttschkes [Wed, 23 Aug 2023 17:34:14 +0000 (19:34 +0200)]
Fix 'makefile-browser-client' variable initialization

* lisp/progmodes/make-mode.el (makefile-browser-client):
Initialize to nil.  (Bug#65487)

Copyright-paperwork-exempt: yes

16 months ago; Fix 'desktop-restore-reuses-frames' customize values
Eli Zaretskii [Mon, 21 Aug 2023 18:18:08 +0000 (21:18 +0300)]
; Fix 'desktop-restore-reuses-frames' customize values

* lisp/desktop.el (desktop-restore-reuses-frames): Fix defcustom's
value.  (Bug#65435)

16 months ago; Silence byte-compiler
Stefan Kangas [Wed, 16 Aug 2023 19:34:11 +0000 (21:34 +0200)]
; Silence byte-compiler

* test/src/comp-tests.el (native-comp-eln-load-path): Declare.

(cherry picked from commit 508d24c8b9aee2c2a4c78ccfef3b5f551a1b2115)

16 months ago; Another improvement for documentation of pixelwise scrolling
Eli Zaretskii [Sun, 20 Aug 2023 08:09:40 +0000 (11:09 +0300)]
; Another improvement for documentation of pixelwise scrolling

* doc/lispref/commands.texi (Misc Events): More details about
pixelwise mouse-wheel scrolling events.  (Bug#65070)

16 months agoSupport defun navigation for DEFUN in c-ts-mode (bug#64442)
Yuan Fu [Thu, 10 Aug 2023 21:27:29 +0000 (14:27 -0700)]
Support defun navigation for DEFUN in c-ts-mode (bug#64442)

Before this change, beginning/end-of-defun just ignores DEFUN in
c-ts-mode. After this change, beginning/end-of-defun can recognize
DEFUN, but a DEFUN definition is considered two defuns. Eg,
beginning/end-of-defun will stop at (1) (2) and (3) in the following
snippet:

(1)DEFUN ("treesit-node-parser",
       Ftreesit_node_parser, Streesit_node_parser,
       1, 1, 0,
       doc: /* Return the parser to which NODE belongs.  */)
  (Lisp_Object node)
(2){
  CHECK_TS_NODE (node);
  return XTS_NODE (node)->parser;
}
(3)

Ideally we want point to only stop at (1) and (3), but that'll be a
lot harder to do.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--defun-valid-p): Refactor to take in account of DEFUN body.
(c-ts-mode--emacs-defun-body-p): New function.
(c-ts-base-mode): Add DEFUN and DEFUN body to recognized types.
(c-ts-mode--emacs-defun-at-point): Now that we recognize both parts of
a DEFUN as defun, c-ts-mode--emacs-defun-at-point needs to be updated
to adapt to it.

16 months agoFix touchpad scrolling on MS-Windows
Eli Zaretskii [Sat, 19 Aug 2023 14:01:18 +0000 (17:01 +0300)]
Fix touchpad scrolling on MS-Windows

* src/w32term.c (w32_construct_mouse_wheel): The number of lines
to scroll should always be positive in wheel-scroll events.
Whether to scroll up or down is encoded in the modifiers, which
produce either wheel-up or wheel-down event.  (Bug#65070)

* doc/lispref/commands.texi (Misc Events): Clarify the
documentation of 'wheel-up' and 'wheel-down' events.

16 months agoFix order in which package-vc dependencies are resolved
Philip Kaludercic [Sat, 19 Aug 2023 09:27:02 +0000 (11:27 +0200)]
Fix order in which package-vc dependencies are resolved

* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies):
Avoid a type-mismatch when comparing two packages.  (Bug#65283)

16 months agoFix building of VC package manuals with relative org links/includes
Joseph Turner [Sat, 12 Aug 2023 08:40:07 +0000 (01:40 -0700)]
Fix building of VC package manuals with relative org links/includes

* lisp/emacs-lisp/package-vc.el (package-vc--build-documentation):
Ensure that default-default is the docs-directory around
org-export-to-file to ensure that links to relative files work
correctly.  (Bug#65243)

16 months agoFix the documentation of 'cl-flet'
Eli Zaretskii [Sat, 19 Aug 2023 08:50:09 +0000 (11:50 +0300)]
Fix the documentation of 'cl-flet'

* doc/misc/cl.texi (Function Bindings): Update the description.
(Bug#65362)

16 months ago; * src/treesit.c (Ftreesit_node_parent): Improve commentary.
Eli Zaretskii [Fri, 18 Aug 2023 06:19:59 +0000 (09:19 +0300)]
; * src/treesit.c (Ftreesit_node_parent): Improve commentary.

16 months agoAvoid false "wrong passphrase" messages in EPA
Jens Schmidt [Tue, 15 Aug 2023 19:37:08 +0000 (21:37 +0200)]
Avoid false "wrong passphrase" messages in EPA

* lisp/epa-file.el (epa--wrong-password-p): Use a stricter regexp
to match "wrong passphrase" errors generated by GnuPG.  (Bug#65316)

16 months agoFix jsx font-lock in older tree-sitter-js grammars
dannyfreeman [Fri, 11 Aug 2023 20:43:58 +0000 (16:43 -0400)]
Fix jsx font-lock in older tree-sitter-js grammars

* lisp/progmodes/js.el (js--treesit-font-lock-settings): Use
queries that are backwards compatible with
tree-sitter-javascript bb1f97b.
* list/progmodes/js.el
(-jsx--treesit-font-lock-compatibility-bb1f97b): Delete unused
function.  (Bug#65234)

16 months agoFix cloning 'face-remapping-alist' for indirect buffers
Eli Zaretskii [Thu, 17 Aug 2023 07:51:36 +0000 (10:51 +0300)]
Fix cloning 'face-remapping-alist' for indirect buffers

* lisp/face-remap.el (face-remap--copy-face): Remove.
(face-attrs--make-indirect-safe): Use 'copy-tree'.  Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.

16 months agoImprove documentation of case transfer in replacement commands
Eli Zaretskii [Thu, 17 Aug 2023 07:07:48 +0000 (10:07 +0300)]
Improve documentation of case transfer in replacement commands

* doc/emacs/search.texi (Replacement and Lax Matches):
* src/search.c (Freplace_match):
* lisp/replace.el (query-replace, query-replace-regexp): Clarify
in the doc string and the manual how letter-case is transferred
from the replaced text to the replacement text.  (Bug#65347)

16 months agoFix horizontal scrolling of images with C-f
Eli Zaretskii [Wed, 16 Aug 2023 17:42:16 +0000 (20:42 +0300)]
Fix horizontal scrolling of images with C-f

* lisp/image-mode.el (image-forward-hscroll): Calculate the
window-width more accurately, as the number of full columns that
fits in the window's text-area.  (Bug#65187)

16 months ago; Fix defcustom in completion.el
Eli Zaretskii [Wed, 16 Aug 2023 17:19:34 +0000 (20:19 +0300)]
; Fix defcustom in completion.el

* lisp/completion.el (completion-search-distance): Fix doc string
and customization type.  (Bug#65327)

16 months ago; * src/fns.c (Fcopy_sequence): Doc fix. (Bug#64960)
Eli Zaretskii [Wed, 16 Aug 2023 12:42:24 +0000 (15:42 +0300)]
; * src/fns.c (Fcopy_sequence): Doc fix.  (Bug#64960)

16 months agoFix unpacking ZIP archives on MS-Windows
Eli Zaretskii [Wed, 16 Aug 2023 12:34:09 +0000 (15:34 +0300)]
Fix unpacking ZIP archives on MS-Windows

* lisp/arc-mode.el (archive-zip-summarize): Decode file names as
UTF-8 when bit 11 of flags is set, even on MS-Windows.
(Bug#65305)

16 months ago; Fix typos in lisp/keymap.el doc strings (bug#65329).
Thomas Voss [Tue, 15 Aug 2023 23:58:03 +0000 (01:58 +0200)]
; Fix typos in lisp/keymap.el doc strings (bug#65329).

Copyright-paper-exempt: yes

16 months agoFix command example in Eshell manual
Jim Porter [Wed, 16 Aug 2023 05:09:14 +0000 (22:09 -0700)]
Fix command example in Eshell manual

* doc/misc/eshell.texi (Introduction): Fix example (bug#65303).

Reported by Eric Gillespie <brickviking@gmail.com>.

16 months ago; lisp/progmodes/csharp-mode.el (treesit-query-capture): Declare (bug#65297).
Daniel Martín [Mon, 14 Aug 2023 19:46:11 +0000 (21:46 +0200)]
; lisp/progmodes/csharp-mode.el (treesit-query-capture): Declare (bug#65297).

16 months ago; Improve documentation of 'define-alternatives'
Eli Zaretskii [Tue, 15 Aug 2023 14:08:12 +0000 (17:08 +0300)]
; Improve documentation of 'define-alternatives'

* doc/lispref/commands.texi (Generic Commands):
* lisp/simple.el (define-alternatives): Improve documentation of
'define-alternatives'.

16 months agoAdd user options mentioned in the Eshell manual to the variable index
Jim Porter [Tue, 15 Aug 2023 00:12:23 +0000 (17:12 -0700)]
Add user options mentioned in the Eshell manual to the variable index

* doc/misc/eshell.texi: Make variable index entries use "code" style,
and add indexing for any options already in the manual.

16 months ago* Add missing alias to `native-comp-enable-subr-trampolines'.
Andrea Corallo [Mon, 14 Aug 2023 13:48:53 +0000 (15:48 +0200)]
* Add missing alias to `native-comp-enable-subr-trampolines'.

* lisp/subr.el (native-comp-deferred-compilation): Alias to
native-comp-jit-compilation.

16 months ago* Add missing alias to `native-comp-enable-subr-trampolines'.
Andrea Corallo [Mon, 14 Aug 2023 13:30:23 +0000 (15:30 +0200)]
* Add missing alias to `native-comp-enable-subr-trampolines'.

* lisp/subr.el (comp-enable-subr-trampolines): Alias to
native-comp-enable-subr-trampolines.

16 months ago; * etc/PROBLEMS: Fix typo and clarify wording.
Po Lu [Mon, 14 Aug 2023 08:04:03 +0000 (16:04 +0800)]
; * etc/PROBLEMS: Fix typo and clarify wording.

I-Bus is merely one of the many X input methods plagued with
crashes.

16 months ago; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change.
Michael Albinus [Mon, 14 Aug 2023 07:42:43 +0000 (09:42 +0200)]
; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change.

16 months agoUpdate to Org 9.6.7-13-g99cc96
Kyle Meyer [Mon, 14 Aug 2023 02:11:45 +0000 (22:11 -0400)]
Update to Org 9.6.7-13-g99cc96

16 months agoHandle last-coding-system-used in Tramp for all backends
Michael Albinus [Sun, 13 Aug 2023 14:48:00 +0000 (16:48 +0200)]
Handle last-coding-system-used in Tramp for all backends

* lisp/net/tramp.el (tramp-skeleton-write-region):
Handle `last-coding-system-used'.
(tramp-handle-write-region):
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
* lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-write-region):
Set `coding-system-used'.  (Bug#65022)

* lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
Move `last-coding-system-used' handling to
`tramp-skeleton-write-region'.

16 months agoAdd 2 Welsh characters to iso-transl.el
Devon Sean McCullough [Sat, 12 Aug 2023 14:18:47 +0000 (10:18 -0400)]
Add 2 Welsh characters to iso-transl.el

* lisp/international/iso-transl.el (iso-transl-char-map): Add two
Welsh characters.  (Bug#65248)

16 months ago* Fix `batch-byte+native-compile' target directory.
Andrea Corallo [Sat, 12 Aug 2023 16:42:33 +0000 (18:42 +0200)]
* Fix `batch-byte+native-compile' target directory.

* lisp/emacs-lisp/comp.el (batch-native-compile): Don't shadow
`native-compile-target-directory' unless necessary.

16 months agoAvoid crashes in 'display_count_lines' when current buffer was killed
Eli Zaretskii [Sat, 12 Aug 2023 12:06:48 +0000 (15:06 +0300)]
Avoid crashes in 'display_count_lines' when current buffer was killed

* src/xdisp.c (Fformat_mode_line):
* src/fns.c (Fline_number_at_pos): Don't allow to count lines in a
dead buffer.  (Bug#65060)

16 months ago; * doc/emacs/mini.texi (Completion Commands): Fix a typo (bug#65242).
Daniel Martín [Sat, 12 Aug 2023 08:32:45 +0000 (10:32 +0200)]
; * doc/emacs/mini.texi (Completion Commands): Fix a typo (bug#65242).

16 months agoUpdate csharp tree-sitter support due to upstream changes
J M [Thu, 10 Aug 2023 22:23:20 +0000 (23:23 +0100)]
Update csharp tree-sitter support due to upstream changes

A change in tree-sitter-c-sharp grammar for csharp (commit
18a531), has removed the keyword void_keyword and advised
we should use predefined_type.
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Support both old and new style of keywords in tree-sitter-c-sharp
grammar.  (Bug#65113)

16 months agoSubstitute command keys in 'ielm-header' at use time
Matthew Tromp [Thu, 10 Aug 2023 14:41:24 +0000 (10:41 -0400)]
Substitute command keys in 'ielm-header' at use time

Before, command keys were substituted into the ielm-header when
ielm.el was loaded, which resulted in the substitutions depending on
the user's current buffer instead of the ielm buffer.
For example, if the user was in an info-mode buffer, the key would
appear as 'H' instead of 'C-h m'.
Now, the command key is substituted after the ielm buffer has been
created.
* lisp/ielm.el (ielm-header): Remove substitute-command-keys.
(inferior-emacs-lisp-mode): Add substitute-command-keys.  (Bug#65213)

Copyright-paperwork-exempt: yes

16 months ago; * etc/PROBLEMS: Add entry about XIM problems (bug#65205).
Eli Zaretskii [Sat, 12 Aug 2023 07:04:55 +0000 (10:04 +0300)]
; * etc/PROBLEMS: Add entry about XIM problems (bug#65205).

16 months agoFix rare crashes in redisplay due to problems with fontsets
Eli Zaretskii [Sat, 12 Aug 2023 06:38:28 +0000 (09:38 +0300)]
Fix rare crashes in redisplay due to problems with fontsets

* src/xdisp.c (get_next_display_element): If we have no usable
face to display a character/composition, treat that as glyphless.
(produce_glyphless_glyph): If neither it->face nor its ASCII face
are usable, fall back to the frame's default font.  (Bug#65198)

16 months agoFix a typo in 'leuven-dark-theme.el'
Eli Zaretskii [Sat, 12 Aug 2023 06:27:23 +0000 (09:27 +0300)]
Fix a typo in 'leuven-dark-theme.el'

* etc/themes/leuven-dark-theme.el (leuven-dark): Fix a typo.
Reported by John Poole <saxcos@posteo.es>.  (Bug#65239)

16 months ago; * admin/git-bisect-start: Update failing commits
Gregory Heytings [Fri, 11 Aug 2023 14:22:17 +0000 (14:22 +0000)]
; * admin/git-bisect-start: Update failing commits

16 months ago; * admin/git-bisect-start: Update failing commits
Gregory Heytings [Thu, 10 Aug 2023 17:34:40 +0000 (17:34 +0000)]
; * admin/git-bisect-start: Update failing commits

16 months ago; * etc/PROBLEMS: Fix typo.
Robert Pluim [Thu, 10 Aug 2023 10:42:30 +0000 (12:42 +0200)]
; * etc/PROBLEMS: Fix typo.

16 months agoAdapt Tramp test
Michael Albinus [Thu, 10 Aug 2023 10:17:59 +0000 (12:17 +0200)]
Adapt Tramp test

* test/lisp/net/tramp-tests.el (tramp-test41-special-characters):
Skip for macOS.

16 months agoProperly expand the JSX indentation rules in 'js-ts-mode'
dannyfreeman [Mon, 7 Aug 2023 19:55:27 +0000 (15:55 -0400)]
Properly expand the JSX indentation rules in 'js-ts-mode'

* lisp/progmodes/js.el (js--treesit-indent-rules): Fix
'js-ts-mode' indent bug in JSX expressions. Before this
change, treesit indent mechanisms were trying to call this
compatibility function like a matching or anchor rule.
This resulted in an error when running `indent-for-tab-command`
while the cursor was in a JSX expression:

treesit--simple-indent-eval: Wrong number of
arguments: ((cl-struct-js--pitem-tags ido-cur-list t) nil "Indent rules
helper, to handle different releases of tree-sitter-javascript."

(Bug#65134)

16 months ago* Add `emacs-lisp-native-compile' to easy-menu.
Andrea Corallo [Thu, 10 Aug 2023 08:39:14 +0000 (10:39 +0200)]
* Add `emacs-lisp-native-compile' to easy-menu.

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu
item for emacs-lisp-native-compile.

16 months ago* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition.
Andrea Corallo [Thu, 10 Aug 2023 08:34:01 +0000 (10:34 +0200)]
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition.

16 months ago* Introduce `emacs-lisp-native-compile'.
Andrea Corallo [Thu, 10 Aug 2023 08:18:43 +0000 (10:18 +0200)]
* Introduce `emacs-lisp-native-compile'.

* lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile): New command.
(emacs-lisp-native-compile-and-load): Make use of.

16 months agoFix the -x switch in non-X builds
Eli Zaretskii [Thu, 10 Aug 2023 07:50:35 +0000 (10:50 +0300)]
Fix the -x switch in non-X builds

* src/emacs.c (main): Move the handling of the -x switch out of
the HAVE_X_WINDOWS condition, and simplify the rest of the code by
avoiding code duplication in HAVE_X_WINDOWS and !HAVE_X_WINDOWS
cases.  (Bug#65048)

16 months agoDocument that `set-mouse-color' does not work everywhere
Po Lu [Thu, 10 Aug 2023 07:31:03 +0000 (15:31 +0800)]
Document that `set-mouse-color' does not work everywhere

* etc/PROBLEMS (Miscellaneous Problems): Mention where
`set-mouse-color' does not work.

16 months ago; * doc/emacs/dired.texi (Misc Dired Features): Fix last change.
Eli Zaretskii [Thu, 10 Aug 2023 06:08:59 +0000 (09:08 +0300)]
; * doc/emacs/dired.texi (Misc Dired Features): Fix last change.

16 months agoFix the effects and documentation of 'dired-free-space'
Eli Zaretskii [Thu, 10 Aug 2023 06:06:05 +0000 (09:06 +0300)]
Fix the effects and documentation of 'dired-free-space'

* lisp/dired.el (dired-free-space): Fix doc string and Custom tags.
(dired--insert-disk-space): When 'dired-free-space' is 'separate',
return the position of the beginning of the disk-space line, to be
compatible with pre-Emacs 29 behavior under
'dired-hide-details-mode'.  (Bug#65186)

* doc/emacs/dired.texi (Misc Dired Features): Fix wording in
documentation of 'dired-free-space'.

16 months ago; Fix typo
Stefan Kangas [Thu, 10 Aug 2023 05:21:22 +0000 (07:21 +0200)]
; Fix typo

16 months agoFix cross-reference to eldoc in eglot manual
Stefan Kangas [Wed, 9 Aug 2023 14:48:54 +0000 (16:48 +0200)]
Fix cross-reference to eldoc in eglot manual

* doc/misc/eglot.texi (Eglot Features): Fix cross-reference to eldoc
node in the Emacs manual.

16 months agoAdd native-compilation to Emacs Lisp mode menu
Eli Zaretskii [Wed, 9 Aug 2023 14:35:24 +0000 (17:35 +0300)]
Add native-compilation to Emacs Lisp mode menu

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu
item for emacs-lisp-native-compile-and-load.

16 months agoFix emacs-lisp-native-compile-and-load eln target directory (bug#64226)
Andrea Corallo [Wed, 9 Aug 2023 13:13:48 +0000 (15:13 +0200)]
Fix emacs-lisp-native-compile-and-load eln target directory (bug#64226)

* lisp/emacs-lisp/comp.el (comp-spill-lap-function): Don't use
`byte+native-compile' to select output directory but always axpect
it explicit through `native-compile-target-directory'.
(batch-byte+native-compile): Set `native-compile-target-directory'.
* test/src/comp-tests.el (comp-tests-bootstrap): Set
`native-compile-target-directory'.

16 months ago; Re-enable the /dev/urandom test
Eli Zaretskii [Wed, 9 Aug 2023 11:25:59 +0000 (07:25 -0400)]
; Re-enable the /dev/urandom test

* test/src/fileio-tests.el (fileio-tests--non-regular-insert):
Remove :unstable, but comment out the single failing test.

16 months agoDisable failing test (bug#65156)
Mattias Engdegård [Wed, 9 Aug 2023 08:23:28 +0000 (10:23 +0200)]
Disable failing test (bug#65156)

* test/src/fileio-tests.el (fileio-tests--non-regular-insert):
Mark as :unstable, since /dev/urandom is seekable.

Do not merge to master.

16 months agoBetter fix for bug#65156
Po Lu [Wed, 9 Aug 2023 02:49:44 +0000 (10:49 +0800)]
Better fix for bug#65156

* src/fileio.c (Finsert_file_contents): Correct seek-ability
test, since lseek returns -1 upon failure.  (Bug#65156)

16 months agoFix insert-file-contents with pipes and /dev/stdin
Eli Zaretskii [Tue, 8 Aug 2023 19:18:46 +0000 (22:18 +0300)]
Fix insert-file-contents with pipes and /dev/stdin

* src/fileio.c (Finsert_file_contents): Restore logic of
non-regular but seekable files.  (Bug#65156)

16 months ago; * etc/PROBLEMS: Fix wording.
Eli Zaretskii [Tue, 8 Aug 2023 12:22:14 +0000 (15:22 +0300)]
; * etc/PROBLEMS: Fix wording.

16 months ago; * etc/NEWS.28: Add deletion of levents.el.
Stefan Kangas [Tue, 8 Aug 2023 02:46:03 +0000 (04:46 +0200)]
; * etc/NEWS.28: Add deletion of levents.el.

16 months agoFix bug#65042
Po Lu [Tue, 8 Aug 2023 01:01:59 +0000 (09:01 +0800)]
Fix bug#65042

* src/pgtkterm.c (fill_background_by_face): Respect the frame's
background alpha property.

16 months ago* configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes (bug#65123).
Eli Zaretskii [Mon, 7 Aug 2023 13:20:17 +0000 (16:20 +0300)]
* configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes (bug#65123).

16 months ago* etc/NEWS: Mention tramp-show-ad-hoc-proxies.
Michael Albinus [Sun, 6 Aug 2023 19:25:40 +0000 (21:25 +0200)]
* etc/NEWS: Mention tramp-show-ad-hoc-proxies.

16 months ago* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Skip for macOS.
Michael Albinus [Sun, 6 Aug 2023 14:24:19 +0000 (16:24 +0200)]
* test/lisp/net/tramp-tests.el (tramp-test42-utf8): Skip for macOS.

16 months ago; Fix last change
Michael Albinus [Sun, 6 Aug 2023 13:46:58 +0000 (15:46 +0200)]
; Fix last change

16 months ago* test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test.
Michael Albinus [Sun, 6 Aug 2023 12:30:57 +0000 (14:30 +0200)]
* test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test.

16 months ago; Improve help-echo in package.el
Eli Zaretskii [Sun, 6 Aug 2023 07:02:11 +0000 (10:02 +0300)]
; Improve help-echo in package.el

* lisp/emacs-lisp/package.el (package-menu-mode-menu): Improve
help-echo descriptions.  (Bug#65094)

16 months ago; Filter packages available for upgrade via menu bar
Arash Esbati [Sat, 5 Aug 2023 15:39:32 +0000 (17:39 +0200)]
; Filter packages available for upgrade via menu bar

* lisp/emacs-lisp/package.el (package-menu-mode-menu): Add entry
to filter packages available for upgrade via menu bar.  (bug#65094)

16 months agoFix reverting Rmail buffers
Eli Zaretskii [Sun, 6 Aug 2023 06:33:44 +0000 (09:33 +0300)]
Fix reverting Rmail buffers

This bug happened because rmail.el relied on 'revert-buffer' to
return non-nil when it succeeds to revert, but a recent change
in 'revert-buffer' broke that promise in Emacs 29.1.
* lisp/files.el (revert-buffer--default, revert-buffer): Doc fix.
(revert-buffer): Return whatever 'revert-buffer-function' returns.
(Bug#65071)

16 months agoFix handling of 'byte-compile-ignore-files' when nil
Jim Porter [Fri, 4 Aug 2023 20:01:35 +0000 (13:01 -0700)]
Fix handling of 'byte-compile-ignore-files' when nil

Before this fix, when 'byte-compile-ignore-files' was nil,
'byte-recompile-directory' would ignore every file (bug#64985).

* lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Handle case
when 'byte-compile-ignore-files' is nil.

16 months agoSync with Tramp 2.6.2-pre
Michael Albinus [Sat, 5 Aug 2023 16:07:58 +0000 (18:07 +0200)]
Sync with Tramp 2.6.2-pre

* doc/misc/tramp.texi (Overview): Use "scp" in example.
(Obtaining @value{tramp}): Prefer https: to git: URIs on Savannah.
(Ssh setup): Extend for MS Windows and ssh.  Explain
tramp-use-ssh-controlmaster-options value `suppress'.
(File name completion): Remove completion styles restrictions.
(Ad-hoc multi-hops): Describe tramp-show-ad-hoc-proxies.
(Remote processes): Add reference to "Using ssh connection sharing".

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Set to "2.6.2-pre".

* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-archive.el
(tramp-archive-handle-file-name-all-completions):
* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
* lisp/net/tramp-sudoedit.el
(tramp-sudoedit-handle-file-name-all-completions): Return nil when
DIRECTORY is missing.  (Bug#61890)

* lisp/net/tramp.el (tramp-accept-process-output): Don't use TIMEOUT
anymore, default it to 0.  When the connection uses a shared
socket possibly, accept also the output from other processes over
the same connection.  (Bug#61350)
(tramp-handle-file-notify-rm-watch, tramp-action-process-alive)
(tramp-action-out-of-band, tramp-process-one-action)
(tramp-interrupt-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
* lisp/net/tramp-smb.el (tramp-smb-action-get-acl)
(tramp-smb-action-set-acl, tramp-smb-wait-for-output):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo): Adapt callees.

* lisp/net/tramp.el (tramp-get-process, tramp-message)
(tramp-handle-make-process, tramp-handle-file-notify-valid-p)
(tramp-process-actions, tramp-accept-process-output)
(tramp-process-sentinel, tramp-read-passwd)
(tramp-interrupt-process, tramp-signal-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
* lisp/net/tramp-crypt.el (tramp-crypt-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
(tramp-gvfs-monitor-process-filter)
(tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-sh-gio-monitor-process-filter)
(tramp-sh-inotifywait-process-filter)
(tramp-barf-if-no-shell-prompt, tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
(tramp-smb-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection)
(tramp-sudoedit-send-command): Prefix internal process properties
with "tramp-".

* lisp/net/tramp.el (tramp-skeleton-file-exists-p): New defmacro,
which also handles host name completion.
(tramp-handle-file-exists-p):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-exists-p):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-exists-p):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-exists-p): Use it.

* lisp/net/tramp.el (tramp-wrong-passwd-regexp):
* lisp/net/tramp-adb.el (tramp-adb-prompt):
* lisp/net/tramp-sh.el (tramp-sh-inotifywait-process-filter):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection): Unify regexps.

* lisp/net/tramp.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el: Fix error messages.

* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
Protect `delete-process'.

* lisp/net/tramp.el (tramp-prefix-format, tramp-prefix-regexp)
(tramp-method-regexp, tramp-postfix-method-format)
(tramp-postfix-method-regexp, tramp-prefix-ipv6-format)
(tramp-prefix-ipv6-regexp, tramp-postfix-ipv6-format)
(tramp-postfix-ipv6-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp, tramp-remote-file-name-spec-regexp)
(tramp-file-name-structure, tramp-file-name-regexp)
(tramp-completion-method-regexp)
(tramp-completion-file-name-regexp):
* lisp/net/tramp-compat.el (tramp-syntax):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector):
Rearrange declarations.

* lisp/net/tramp-compat.el (ansi-color): Require.
(ls-lisp): Don't require.  (Bug#64124)
(tramp-compat-replace-regexp-in-region): Move up.
(tramp-compat-length<, tramp-compat-length>)
(tramp-compat-length=): New defaliases.
(tramp-compat-file-name-unquote, tramp-compat-take)
(tramp-compat-ntake): Use them.

* lisp/net/tramp-container.el (tramp-container--completion-function):
Rename from `tramp-docker--completion-function'.  Add argument
PROGRAM.  Use it for "docker" and "podman" host name completion.

* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-exists-p):
New defun.
(tramp-crypt-file-name-handler-alist): Add it.

* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-exists-p): New defun.
(tramp-fuse-mount-timeout): Move up.
(tramp-fuse-mount-point): Use `tramp-fuse-mount-timeout'.
(tramp-fuse-unmount): Flush "mount-point" file property.
(tramp-fuse-mount-point, tramp-fuse-mounted-p): Support existing
mount points.
(tramp-fuse-mounted-p): The mount-spec could contain an optional
trailing slash.  (Bug#64278)

* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file)
* lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file):
Improve stability for WebDAV.
(tramp-rclone-handle-file-system-info): Check return code of
command.

* lisp/net/tramp-gvfs.el (while-no-input-ignore-events):
Add `dbus-event' for older Emacs versions.
(tramp-gvfs-parse-device-names): Ignore errors.

* lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp)
(tramp-device-escape-sequence-regexp): Delete.
(tramp-sh-handle-insert-directory, tramp-barf-if-no-shell-prompt)
(tramp-wait-for-output): Use `ansi-color-control-seq-regexp'.
(tramp-use-ssh-controlmaster-options): Allow new value `suppress'.
(tramp-ssh-option-exists-p): New defun.
(tramp-ssh-controlmaster-options): Implement `suppress' actions.
Should never return nil, but empty string.
(tramp-perl-file-name-all-completions): Don't print status message.
(tramp-sh-handle-file-name-all-completions): Return nil when check
fails.  (Bug#61890)
(tramp-run-test): Add VEC argument.
(tramp-sh-handle-file-executable-p)
(tramp-sh-handle-file-readable-p)
(tramp-sh-handle-file-directory-p)
(tramp-sh-handle-file-writable-p): Adapt callees.
(tramp-sh-handle-insert-directory):
(tramp-sh-handle-insert-directory): Test whether -N is understood
by ls since that option is used along with --dired.  Remove -N
when we remove --dired.  (Bug#63142)
(tramp-sh-handle-insert-directory, tramp-barf-if-no-shell-prompt)
(tramp-wait-for-output): Use `ansi-color-control-seq-regexp'.
(tramp-sh-handle-expand-file-name): `null-device' could be nil.
Reported by Richard Copley <rcopley@gmail.com>.
(tramp-sh-handle-make-process): Improve handling of
connection-type `pipe'.  (Bug#61341)

* lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link):
Flush TARGET file properties.

* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file): Flush proper
file properties.
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl):
Remove superfluous `unwind-protect'.

* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-fuse-handle-file-exists-p'.
(tramp-sshfs-handle-insert-file-contents): Move result out of
unwindform.

* lisp/net/tramp.el (tramp-string-empty-or-nil-p): New defsubst.
Use it everywhere when appropriate.

* lisp/net/tramp.el (tramp-methods) <->: Add.
(tramp-completion-file-name-handler-alist):
Add `expand-file-name', `file-exists-p', `file-name-directory' and
`file-name-nondirectory'.
(tramp-dissect-file-name): Do not extra check for
`tramp-default-method-marker'.
(tramp-completion-handle-expand-file-name)
(tramp-completion-handle-file-exists-p)
(tramp-completion-handle-file-name-directory)
(tramp-completion-handle-file-name-nondirectory): New defuns.
(tramp-completion-handle-file-name-all-completions): Remove duplicates.
(tramp-show-ad-hoc-proxies): New defcustom.
(tramp-make-tramp-file-name): Use it.
(tramp-make-tramp-hop-name): Don't add hop twice.
(tramp-shell-prompt-pattern): Remove escape characters.
(tramp-process-one-action, tramp-convert-file-attributes):
Use `ansi-color-control-seq-regexp'.  (Bug#63539)
(tramp-wrong-passwd-regexp): Add "Authentication failed" string
(from doas).
(tramp-terminal-type): Fix docstring.
(tramp-process-one-action): Delete ANSI control escape sequences
in buffer.  (Bug#63539)
(tramp-build-completion-file-name-regexp): Support user name
completion.
(tramp-make-tramp-file-name): Keep hop while in file
(tramp-set-completion-function): Check, that cdr of FUNCTION-LIST
entries is a string.
(tramp-completion-file-name-handler): Run only when
`minibuffer-completing-file-name' is non-nil.
(tramp-skeleton-write-region): Fix scoping.  (Bug#65022)
(tramp-handle-memory-info): Work on newly created objects, or use
non-destructive operations.
(tramp-accept-process-output): Use `with-local-quit'.
(tramp-call-process, tramp-call-process-region):
Let-bind `temporary-file-directory'.

* test/lisp/net/tramp-archive-tests.el (tramp-archive--test-emacs28-p):
New defun.
(tramp-archive-test16-directory-files): Don't mutate.
(tramp-archive-test47-auto-load): Adapt test.

* test/lisp/net/tramp-tests.el (tramp-display-escape-sequence-regexp):
Dont't declare.
(tramp-action-yesno): Suppress run in tests.
(tramp-test02-file-name-dissect):
(tramp-test02-file-name-dissect-simplified)
(tramp-test02-file-name-dissect-separate): Adapt tests.
(tramp-test21-file-links):
(tramp-test21-file-links, tramp-test26-file-name-completion)
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test33-environment-variables)
(tramp-test38-find-backup-file-name, tramp-test47-auto-load)
(tramp-test39-detect-external-change, tramp-test42-utf8)
(tramp-test47-auto-load, tramp-test47-delay-load)
(tramp-test48-unload): Adapt tests.
(tramp-test26-file-name-completion-with-perl):
(tramp-test26-file-name-completion-with-ls)
(tramp-test26-interactive-file-name-completion): New tests.
(tramp-test44-asynchronous-requests): Mark as :unstable.

16 months agoFix documentation of saveplace facilities for Dired
Eli Zaretskii [Sat, 5 Aug 2023 09:13:47 +0000 (12:13 +0300)]
Fix documentation of saveplace facilities for Dired

* lisp/saveplace.el (save-place-dired-hook, save-place-alist):
* lisp/dired.el (dired-initial-position-hook)
(dired-initial-position): Doc fixes.  (Bug#65055)

16 months ago; * lisp/tab-bar.el: Autoload cl--set-substring, as that is needed for loadup.
Eli Zaretskii [Sat, 5 Aug 2023 07:31:20 +0000 (10:31 +0300)]
; * lisp/tab-bar.el: Autoload cl--set-substring, as that is needed for loadup.

16 months ago; * lisp/bindings.el (mode-line-modes): Fix typo (bug#65065).
Eshel Yaron [Sat, 5 Aug 2023 06:45:56 +0000 (09:45 +0300)]
; * lisp/bindings.el (mode-line-modes): Fix typo (bug#65065).