Emacs: Comment on 'rename-buffer-and-file'

master
Pierre Neidhardt 2017-05-09 15:01:09 +05:30
parent f2f68e2873
commit 93bb055dba
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ WARNING: this may slow down editing on big files."
mode-line-misc-info
mode-line-end-spaces)))
;; Almost useless compared to Helm-file M-R. However helm does not change
;; current directory.
(defun rename-buffer-and-file ()
"Renames current buffer and file it is visiting."
(interactive)