~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d3e29c3
)
el/dot-emacs.el: Add a missing docstring.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 7 May 2020 00:09:16 +0000
(
01:09
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 7 May 2020 00:09:16 +0000
(
01:09
+0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
23b2c97
..
b5f45b6
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-592,6
+592,7
@@
Pretend they don't exist. They might be on other display devices."
(defadvice rename-file (after mdw-rename-buffers (from to &optional forcep)
compile activate)
+ "If a buffer is visiting the file, rename it to match the new name."
(let ((buffer (get-file-buffer from)))
(when buffer
(with-current-buffer buffer