Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9a3d2737
Commit
9a3d2737
authored
Sep 23, 2007
by
Dan Nicolaescu
Browse files
(file-name-sans-versions): Use [:alnum:] and also allow
#, @, : and ^.
parent
24d2bfb5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/files.el
lisp/files.el
+1
-1
No files found.
lisp/ChangeLog
View file @
9a3d2737
2007-09-23 Dan Nicolaescu <dann@ics.uci.edu>
* files.el (file-name-sans-versions): Use [:alnum:] and also allow
#, @, : and ^.
2007-09-23 Glenn Morris <rgm@gnu.org>
* ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
lisp/files.el
View file @
9a3d2737
...
...
@@ -3188,7 +3188,7 @@ we do not remove backup version numbers, only true file version numbers."
(length name))
(if keep-backup-version
(length name)
(or (string-match "\\.~[-
0-9a-zA-Z
._]+~\\'" name)
(or (string-match "\\.~[-
[:alnum:]:#@^
._]+~\\'" name)
(string-match "~\\'" name)
(length name))))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment