; * lisp/files.el (file-name-version-regexp): typo in doc string

This commit is contained in:
Mattias Engdegård 2026-01-27 15:05:49 +01:00
parent 99abaa70bf
commit 19cd6972fa

View file

@ -5478,7 +5478,7 @@ BACKUPNAME is the backup file name, which is the old file renamed."
(defvar file-name-version-regexp
"\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)"
;; The last ~[[:digit]]+ matches relative versions in git,
;; The last ~[[:digit:]]+ matches relative versions in git,
;; e.g. `foo.js.~HEAD~1~'.
"Regular expression matching the backup/version part of a file name.
Used by `file-name-sans-versions'.")