aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-03-23 06:51:40 -0400
committerEli Zaretskii2024-03-23 06:51:40 -0400
commit3bd7a90dde201f430d5d79afdc55c1721e6ea8a4 (patch)
tree615ccf98f577ddc9c19411a1f177fff0233b0c53
parenta530b8d366290838c883517e9aaefd7e460abf52 (diff)
parente95a8622263d8182e80777f87b7ca52cedbd1b28 (diff)
downloademacs-3bd7a90dde201f430d5d79afdc55c1721e6ea8a4.tar.gz
emacs-3bd7a90dde201f430d5d79afdc55c1721e6ea8a4.zip
Merge from origin/emacs-29
e95a8622263 ; * lisp/keymap.el (key-parse): Fix processing of "[TAB]"... afb7a23e7b9 ; Improve documentation of 'backup-by-copying'
-rw-r--r--doc/emacs/files.texi6
-rw-r--r--lisp/keymap.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 7f514a1c8b7..ccdeef414e2 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -779,6 +779,12 @@ operations typically break hard links, disconnecting the file name you
779visited from any alternate names for the same file. This has nothing 779visited from any alternate names for the same file. This has nothing
780to do with Emacs---the version control system does it. 780to do with Emacs---the version control system does it.
781 781
782 Some file storage services support @dfn{file versioning}: they
783record history of previous versions of files, and allow reverting to
784those previous versions. If you want to be able to do that with files
785hosted by those services when editing them with Emacs, customize
786@code{backup-by-copying} to a non-@code{nil} value.
787
782@node Customize Save 788@node Customize Save
783@subsection Customizing Saving of Files 789@subsection Customizing Saving of Files
784 790
diff --git a/lisp/keymap.el b/lisp/keymap.el
index d2544e30ce0..b2b475c7d71 100644
--- a/lisp/keymap.el
+++ b/lisp/keymap.el
@@ -260,7 +260,7 @@ returned by \\[describe-key] (`describe-key')."
260 (setq word (concat (match-string 1 word) 260 (setq word (concat (match-string 1 word)
261 (match-string 3 word))) 261 (match-string 3 word)))
262 (not (string-match 262 (not (string-match
263 "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\)$" 263 "\\<\\(NUL\\|RET\\|LFD\\|TAB\\|ESC\\|SPC\\|DEL\\)$"
264 word)))) 264 word))))
265 (setq key (list (intern word)))) 265 (setq key (list (intern word))))
266 ((or (equal word "REM") (string-match "^;;" word)) 266 ((or (equal word "REM") (string-match "^;;" word))