@@ -459,7 +459,8 @@ the argument."
459
459
:add-to-known-words t ; ; so that it could be added into default known file
460
460
) candidates) )))
461
461
(with-current-buffer (current-buffer )
462
- (paw-show-all-annotations candidates))
462
+ (when (bound-and-true-p paw-annotation-mode)
463
+ (paw-show-all-annotations candidates)))
463
464
464
465
)))
465
466
@@ -491,7 +492,8 @@ the argument."
491
492
:add-to-known-words t ; ; so that it could be added into default known file
492
493
) candidates) ) )))
493
494
(with-current-buffer (current-buffer )
494
- (paw-show-all-annotations candidates)))))
495
+ (when (bound-and-true-p paw-annotation-mode)
496
+ (paw-show-all-annotations candidates))))))
495
497
496
498
(defun paw-focus-find-unknown-words-sentinel-japanese (proc _event )
497
499
" Handles the japanese process termination event."
@@ -572,7 +574,8 @@ the argument."
572
574
) candidates)))))
573
575
; ; (pp candidates)
574
576
(with-current-buffer (current-buffer )
575
- (paw-show-all-annotations candidates)))))
577
+ (when (bound-and-true-p paw-annotation-mode)
578
+ (paw-show-all-annotations candidates))))))
576
579
577
580
578
581
(defun paw-focus-find-wordlist-words-sentinel-japanese (proc _event )
@@ -609,6 +612,7 @@ the argument."
609
612
:add-to-known-words t ; ; so that it could be added into default known file
610
613
) candidates)))))
611
614
(with-current-buffer (current-buffer )
612
- (paw-show-all-annotations candidates)))))
615
+ (when (bound-and-true-p paw-annotation-mode)
616
+ (paw-show-all-annotations candidates))))))
613
617
614
618
(provide 'paw-focus )
0 commit comments