about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-07 00:45:10 -0500
committerCase Duckworth2021-04-07 00:45:10 -0500
commit63fa8ed2e25edf0c5a46ca1f6303eea59d323881 (patch)
tree0b901963c4affde441ab99557a69eeaa5866012d
parentMerge branch 'main' of tildegit.org:acdw/emacs (diff)
downloademacs-63fa8ed2e25edf0c5a46ca1f6303eea59d323881.tar.gz
emacs-63fa8ed2e25edf0c5a46ca1f6303eea59d323881.zip
Fix immortal-buffer bug
-rw-r--r--init.el5
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)