about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.org b/config.org index 55ccaf7..0b71e4c 100644 --- a/config.org +++ b/config.org
@@ -218,7 +218,7 @@ function to the =kill-buffer-query-functions= hook that will return
218 `kill-a-buffer' uses the PREFIX argument to determine which buffer(s) to kill: 218 `kill-a-buffer' uses the PREFIX argument to determine which buffer(s) to kill:
219 0 => Kill current buffer & window 219 0 => Kill current buffer & window
220 4 (C-u) => Kill OTHER buffer & window 220 4 (C-u) => Kill OTHER buffer & window
221 16 (C-u C-u) => Kill ALL OTHER buffers & windows" 221 16 (C-u C-u) => Run `kill-buffer' without a prefix arg."
222 (interactive "P") 222 (interactive "P")
223 (pcase (or (car prefix) 0) 223 (pcase (or (car prefix) 0)
224 (0 (kill-current-buffer) 224 (0 (kill-current-buffer)
@@ -226,8 +226,8 @@ function to the =kill-buffer-query-functions= hook that will return
226 (4 (other-window 1) 226 (4 (other-window 1)
227 (kill-current-buffer) 227 (kill-current-buffer)
228 (unless (one-window-p) (delete-window))) 228 (unless (one-window-p) (delete-window)))
229 (16 (mapc #'kill-buffer (delq (current-buffer) (buffer-list))) 229 (16 (let ((current-prefix-arg nil))
230 (delete-other-windows)))) 230 (kill-buffer)))))
231#+end_src 231#+end_src
232 232
233#+begin_src emacs-lisp :noweb-ref bindings 233#+begin_src emacs-lisp :noweb-ref bindings