el/dot-emacs.el: Add a missing docstring.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 7 May 2020 00:09:16 +0000 (01:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 7 May 2020 00:09:16 +0000 (01:09 +0100)
el/dot-emacs.el

index 23b2c97..b5f45b6 100644 (file)
@@ -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