fix rename

This commit is contained in:
Stefan Schwarz 2019-09-02 14:34:59 +02:00
parent 1cc053b02c
commit 0c3dbb4d24

View file

@ -371,7 +371,7 @@ if prefix argument ARG is given, switch to it in an other, possibly new window."
(message "File deleted: '%s'" filename)) (message "File deleted: '%s'" filename))
(message "Canceled: File deletion"))))) (message "Canceled: File deletion")))))
(defun rename-current-buffer-file (&optional arg) (defun foo/rename-current-buffer-file (&optional arg)
"Rename the current buffer and the file it is visiting. "Rename the current buffer and the file it is visiting.
If the buffer isn't visiting a file, ask if it should If the buffer isn't visiting a file, ask if it should
be saved to a file, or just renamed. be saved to a file, or just renamed.