Skip to content

Commit

Permalink
Update paw config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyanming committed Jul 20, 2024
1 parent a684fda commit be2f772
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 @@ -145,8 +145,10 @@
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations)
(if paw-annotation-show-wordlists-words-p
(paw-focus-find-words :wordlist t))
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words))))
(paw-focus-find-words))))

(defun shrface-eww-advice (orig-fun &rest args)
(require 'eww)
Expand Down Expand Up @@ -261,8 +263,10 @@
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations)
(if paw-annotation-show-wordlists-words-p
(paw-focus-find-words :wordlist t))
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words)))))
(paw-focus-find-words)))))

(defun shrface-nov-setup ()
(unless shrface-toggle-bullets
Expand Down Expand Up @@ -356,8 +360,10 @@
(when (bound-and-true-p paw-annotation-mode)
(paw-clear-annotation-overlay)
(paw-show-all-annotations)
(if paw-annotation-show-wordlists-words-p
(paw-focus-find-words :wordlist t))
(if paw-annotation-show-unknown-words-p
(paw-focus-find-unknown-words)))))
(paw-focus-find-words)))))

(use-package mu4e
:defer t
Expand Down

0 comments on commit be2f772

Please sign in to comment.