]> git.eshelyaron.com Git - emacs.git/commit
* lisp/files.el (abbreviate-file-name): Avoid save-match-data
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 26 Oct 2018 17:04:31 +0000 (13:04 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 26 Oct 2018 17:04:31 +0000 (13:04 -0400)
commitf172ceda8aa5011c1ab79d812f2374a1dbe7a3ef
treeb1c6523f60c194c937e6c17c5aef169ea29ab4fc
parentd404bb5beeec6ccfef583dbb9c43e3d043df31cf
* lisp/files.el (abbreviate-file-name): Avoid save-match-data

Also, don't assume homedir doesn't contain special regexp chars.
And prefer \` ... \' over ^ ... $.
(recover-file): Use user-error.
lisp/files.el