]> git.eshelyaron.com Git - emacs.git/commit
Add save-match-data to abbreviate-file-name (Bug#32201)
authorNoam Postavsky <npostavs@gmail.com>
Wed, 18 Jul 2018 22:45:47 +0000 (18:45 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 22 Jul 2018 01:07:07 +0000 (21:07 -0400)
commit59e8533286cc8b5abc80b0966ef4b9fb676fbdfe
tree1462067e51d6ce0bcd64289cc33652f6c3de0ae4
parent47f75b1ba0246b5d770fbb52e0fa3e00f9f83ffb
Add save-match-data to abbreviate-file-name (Bug#32201)

* lisp/files.el (abbreviate-file-name): Save match-data around
expand-file-name; it is not guaranteed to preserve match-data, and may
well do so depending on what file handlers and hooks are in effect.
lisp/files.el