summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 3433771..ab3fc52 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? ")