Emacs: remove unused variable
Alan Pearce alan@alanpearce.co.uk
Sat, 11 May 2013 14:57:03 +0100
1 files changed, 1 insertions(+), 2 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -375,8 +375,7 @@ (defun delete-current-buffer-file () "Removes file connected to current buffer and kills buffer." (interactive) (let ((filename (buffer-file-name)) - (buffer (current-buffer)) - (name (buffer-name))) + (buffer (current-buffer))) (if (not (and filename (file-exists-p filename))) (ido-kill-buffer) (when (yes-or-no-p "Are you sure you want to remove this file? ")