From 7437df33f8f384b2f1d374df3ec2a499cfdcce27 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 7 May 2020 01:09:16 +0100 Subject: [PATCH] el/dot-emacs.el: Add a missing docstring. --- el/dot-emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 23b2c97..b5f45b6 100644 --- 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 -- 2.11.0