diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-26 21:27:42 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-26 21:27:42 +0000 |
commit | 920dbb2fc751660a1dd9b563af259e16876f749a (patch) | |
tree | 5a57e523f8406d4f596affe45d71309ceb7ce8ff /init.el | |
parent | 8e1389af5895fdf99600f59521aec2ba387b6f0e (diff) |
added func to kill other buffers
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -137,6 +137,12 @@ ;; (global-set-key "\C-x\C-k" 'kill-region) ;; (global-set-key "\C-c\C-k" 'kill-region) +;; kill other buffers +(defun kill-other-buffers () + "Kill all other buffers." + (interactive) + (mapc 'kill-buffer (delq (current-buffer) (buffer-list)))) + ;; mu4e ;; the exact path may differ --- check it (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") |