summary refs log tree commit diff stats
path: root/lisp/+scratch.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-31 17:27:21 -0600
committerCase Duckworth2022-01-31 17:27:39 -0600
commit7ffde2d9bb9165281be249f56d5b363447239ab7 (patch)
treee187a074dde1f4db39bd4b5a4ea18a809a0706ee /lisp/+scratch.el
parentAdd flyspell to vertico-multiform-categories (diff)
downloademacs-7ffde2d9bb9165281be249f56d5b363447239ab7.tar.gz
emacs-7ffde2d9bb9165281be249f56d5b363447239ab7.zip
Changes
Diffstat (limited to 'lisp/+scratch.el')
-rw-r--r--lisp/+scratch.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/+scratch.el b/lisp/+scratch.el index 2a89a95..b724a94 100644 --- a/lisp/+scratch.el +++ b/lisp/+scratch.el
@@ -5,7 +5,7 @@
5;;(require 'scratch) 5;;(require 'scratch)
6 6
7(defun +scratch-immortal () 7(defun +scratch-immortal ()
8 "Bury, don't kill \"*scratc*\" buffer. 8 "Bury, don't kill \"*scratch*\" buffer.
9For `kill-buffer-query-functions'." 9For `kill-buffer-query-functions'."
10 (if (eq (current-buffer) (get-buffer "*scratch*")) 10 (if (eq (current-buffer) (get-buffer "*scratch*"))
11 (progn (bury-buffer) 11 (progn (bury-buffer)
@@ -24,6 +24,5 @@ For `kill-buffer-query-functions'."
24 (next-line 2)) 24 (next-line 2))
25 (rename-buffer (concat "*scratch<" mode ">*") t))) 25 (rename-buffer (concat "*scratch<" mode ">*") t)))
26 26
27
28(provide '+scratch) 27(provide '+scratch)
29;;; +scratch.el ends here 28;;; +scratch.el ends here