diff options
-rw-r--r-- | init.el | 7 |
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 |