From c27508aa1ba29850bcbd64bc8ba4516c2575fa36 Mon Sep 17 00:00:00 2001 From: mschuldt Date: Sun, 6 May 2018 17:22:01 -0700 Subject: [PATCH] key 'q' to kill archive file buffer --- code-archive.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code-archive.el b/code-archive.el index 7a13268..09cd112 100644 --- a/code-archive.el +++ b/code-archive.el @@ -210,6 +210,11 @@ The point must be on the first line." ;;TODO: jump from anywhere in the source b (goto-char 1) (forward-line line)) (message "Original file does not exist")) + )) + (local-set-key (kbd "q") + (lambda () + (interactive) + (kill-buffer) )))) (message "Error: no link info for codeblock id: %s" id)))))