summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-11 14:57:03 +0100
committerAlan Pearce2013-05-11 14:57:03 +0100
commit81734b1d3053064673e6f4995af280f80cb5051d (patch)
treee28423ae160334fcf88293447827deded1153978
parent441d091d6e0492f97b99bd36fa2f52d4ad192ba6 (diff)
downloaddotfiles-81734b1d3053064673e6f4995af280f80cb5051d.tar.lz
dotfiles-81734b1d3053064673e6f4995af280f80cb5051d.tar.zst
dotfiles-81734b1d3053064673e6f4995af280f80cb5051d.zip
Emacs: remove unused variable
-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? ")