summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-10-28 20:02:21 -0500
committerCase Duckworth2022-10-28 20:02:21 -0500
commit6626e5db64da7ff580b5b7206690a258143d4fae (patch)
tree62c3b0eef70588b81a67b70d91c1af4732971ccc
parenttotal rewrite of `yoke' (diff)
downloademacs-6626e5db64da7ff580b5b7206690a258143d4fae.tar.gz
emacs-6626e5db64da7ff580b5b7206690a258143d4fae.zip
Fix initial-buffer-choice function
-rw-r--r--init.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/init.el b/init.el index d3071e2..f7dcd7e 100644 --- a/init.el +++ b/init.el
@@ -20,11 +20,10 @@
20 password-cache-expiry (* 60 60) 20 password-cache-expiry (* 60 60)
21 initial-buffer-choice (defun +initial-buffer-choose () 21 initial-buffer-choice (defun +initial-buffer-choose ()
22 (cond 22 (cond
23 ((bound-and-true-p initial-buffer-chosen) 23 ((equal (get-buffer "*Messages*")
24 (other-buffer)) 24 (other-buffer))
25 (:else 25 (get-buffer "*scratch*"))
26 (defvar initial-buffer-chosen t) 26 (:else (other-buffer)))))
27 (get-buffer "*scratch*")))))
28 ;; "Safe" variables 27 ;; "Safe" variables
29 (dolist (var+pred 28 (dolist (var+pred
30 '((browse-url-browser-function 29 '((browse-url-browser-function