Function kill-current-buffer is too chatty

This commit is contained in:
Wojciech Kozlowski 2022-04-13 01:41:52 +02:00
parent fd58f69a49
commit ba3c1a1dc7
2 changed files with 7 additions and 1 deletions

View File

@ -352,7 +352,7 @@
(map!
"C-M-\\" #'+x/indent-region-or-buffer
"C-x k" #'kill-current-buffer
"C-x k" #'+x/kill-buffer
"C-<" #'+x/scroll-down-one
"C->" #'+x/scroll-up-one
"M-Q" #'+x/unfill-paragraph

View File

@ -11,6 +11,12 @@
(indent-region (region-beginning) (region-end))
(indent-region (point-min) (point-max))))
;;;###autoload
(defun +x/kill-buffer ()
"Kill current buffer without prompting for which buffer."
(interactive)
(kill-buffer))
;;;###autoload
(defun +x/scroll-down-one ()
"Scroll text (but not the point) of selected window downward one line."