From 0c3dbb4d24b1810dc88b927b0e5068065ed93066 Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Mon, 2 Sep 2019 14:34:59 +0200 Subject: [PATCH] fix rename --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index b9f29f9..777dc35 100644 --- a/init.el +++ b/init.el @@ -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 "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. If the buffer isn't visiting a file, ask if it should be saved to a file, or just renamed.