From 63fa8ed2e25edf0c5a46ca1f6303eea59d323881 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 7 Apr 2021 00:45:10 -0500 Subject: Fix immortal-buffer bug --- init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 033b907..cd6efa1 100644 --- a/init.el +++ b/init.el @@ -115,7 +115,7 @@ ;; Cursor (:option cursor-type 'bar cursor-in-non-selected-windows 'hollow - blink-cursor-blinks 1) + blink-cursor-blinks 1) (blink-cursor-mode +1) ;; Scrolling @@ -310,7 +310,7 @@ (setup scratch (hook-defun immortal-scratch kill-buffer-query-functions - (if (eq (current-buffer (get-buffer "*scratch*"))) + (if (eq (current-buffer) (get-buffer "*scratch*")) (progn (bury-buffer) nil) t))) @@ -395,7 +395,6 @@ "o" elpher-follow-current-link "G" elpher-go-current) (:hook acdw/reading-mode) - ;; Make `eww' gemini/gopher aware. From Emacswiki. (advice-add 'eww-browse-url :around (defun elpher:eww-browse-url (original url &optional new-window) -- cgit 1.4.1-21-gabe81