chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 23b2c97ba0dffdbadf420e6d04170590fb32d810..b5f45b66e6fa9d2e4507d1e9b7f90baf17ee3461 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-592,6
+592,7
@@
(defadvice display-buffer (before mdw-inhibit-other-frames activate)
(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