diff options
author | Case Duckworth | 2021-04-07 00:45:10 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-07 00:45:10 -0500 |
commit | 63fa8ed2e25edf0c5a46ca1f6303eea59d323881 (patch) | |
tree | 0b901963c4affde441ab99557a69eeaa5866012d | |
parent | Merge branch 'main' of tildegit.org:acdw/emacs (diff) | |
download | emacs-63fa8ed2e25edf0c5a46ca1f6303eea59d323881.tar.gz emacs-63fa8ed2e25edf0c5a46ca1f6303eea59d323881.zip |
Fix immortal-buffer bug
-rw-r--r-- | init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/init.el b/init.el index 033b907..cd6efa1 100644 --- a/init.el +++ b/init.el | |||
@@ -115,7 +115,7 @@ | |||
115 | ;; Cursor | 115 | ;; Cursor |
116 | (:option cursor-type 'bar | 116 | (:option cursor-type 'bar |
117 | cursor-in-non-selected-windows 'hollow | 117 | cursor-in-non-selected-windows 'hollow |
118 | blink-cursor-blinks 1) | 118 | blink-cursor-blinks 1) |
119 | (blink-cursor-mode +1) | 119 | (blink-cursor-mode +1) |
120 | 120 | ||
121 | ;; Scrolling | 121 | ;; Scrolling |
@@ -310,7 +310,7 @@ | |||
310 | 310 | ||
311 | (setup scratch | 311 | (setup scratch |
312 | (hook-defun immortal-scratch kill-buffer-query-functions | 312 | (hook-defun immortal-scratch kill-buffer-query-functions |
313 | (if (eq (current-buffer (get-buffer "*scratch*"))) | 313 | (if (eq (current-buffer) (get-buffer "*scratch*")) |
314 | (progn (bury-buffer) | 314 | (progn (bury-buffer) |
315 | nil) | 315 | nil) |
316 | t))) | 316 | t))) |
@@ -395,7 +395,6 @@ | |||
395 | "o" elpher-follow-current-link | 395 | "o" elpher-follow-current-link |
396 | "G" elpher-go-current) | 396 | "G" elpher-go-current) |
397 | (:hook acdw/reading-mode) | 397 | (:hook acdw/reading-mode) |
398 | |||
399 | ;; Make `eww' gemini/gopher aware. From Emacswiki. | 398 | ;; Make `eww' gemini/gopher aware. From Emacswiki. |
400 | (advice-add 'eww-browse-url :around | 399 | (advice-add 'eww-browse-url :around |
401 | (defun elpher:eww-browse-url (original url &optional new-window) | 400 | (defun elpher:eww-browse-url (original url &optional new-window) |