summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 3433771e..ab3fc528 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -375,8 +375,7 @@
   "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? ")