summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-01 09:25:25 -0500
committerCase Duckworth2022-05-01 09:25:25 -0500
commit23836a13f1cc744b478055aa7caf7f7133806994 (patch)
treecbf069ceb9ec2dcd66a6311d46e3d97742e6ac75
parentAdd bindings for consult functions (diff)
downloademacs-23836a13f1cc744b478055aa7caf7f7133806994.tar.gz
emacs-23836a13f1cc744b478055aa7caf7f7133806994.zip
Take advantage of `eww-auto-rename-buffer' if it exists
-rw-r--r--init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/init.el b/init.el index cca3199..04d5bff 100644 --- a/init.el +++ b/init.el
@@ -1522,10 +1522,13 @@
1522(setup (:straight epithet) 1522(setup (:straight epithet)
1523 (add-hook 'epithet-suggesters #'epithet-for-eww-url) 1523 (add-hook 'epithet-suggesters #'epithet-for-eww-url)
1524 (dolist (hook '(Info-selection-hook 1524 (dolist (hook '(Info-selection-hook
1525 eww-after-render-hook 1525 ;; eww-after-render-hook
1526 help-mode-hook 1526 help-mode-hook
1527 occur-mode-hook)) 1527 occur-mode-hook))
1528 (add-hook hook #'epithet-rename-buffer))) 1528 (add-hook hook #'epithet-rename-buffer))
1529 (if (boundp 'eww-auto-rename-buffer) ; Emacs 29
1530 (:option eww-auto-rename-buffer 'title)
1531 (add-hook 'eww-after-render-hook #'epithet-rename-buffer)))
1529 1532
1530(setup (:straight eros) 1533(setup (:straight eros)
1531 (:hook-into emacs-lisp-mode 1534 (:hook-into emacs-lisp-mode