diff options
author | Case Duckworth | 2022-10-28 20:02:21 -0500 |
---|---|---|
committer | Case Duckworth | 2022-10-28 20:02:21 -0500 |
commit | 6626e5db64da7ff580b5b7206690a258143d4fae (patch) | |
tree | 62c3b0eef70588b81a67b70d91c1af4732971ccc | |
parent | total rewrite of `yoke' (diff) | |
download | emacs-6626e5db64da7ff580b5b7206690a258143d4fae.tar.gz emacs-6626e5db64da7ff580b5b7206690a258143d4fae.zip |
Fix initial-buffer-choice function
-rw-r--r-- | init.el | 9 |
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 |