Skip to content

Commit

Permalink
Update config.el
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyanming committed Jun 22, 2024
1 parent fa16ee9 commit a684fda
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions config.el
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@
;; workaround to show annotations in eww
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations) ))
(paw-show-all-annotations)
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words))))

(defun shrface-eww-advice (orig-fun &rest args)
(require 'eww)
Expand Down Expand Up @@ -258,7 +260,9 @@
;; workaround, show annotations when document updates
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations) )))
(paw-show-all-annotations)
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words)))))

(defun shrface-nov-setup ()
(unless shrface-toggle-bullets
Expand Down Expand Up @@ -351,7 +355,9 @@
;; workaround, show annotations when document updates
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations) )))
(paw-show-all-annotations)
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words)))))

(use-package mu4e
:defer t
Expand Down

0 comments on commit a684fda

Please sign in to comment.