summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-mail.el3
-rw-r--r--lisp/init-org.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
index 054dfa1..5bb4e54 100644
--- a/lisp/init-mail.el
+++ b/lisp/init-mail.el
@@ -79,7 +79,8 @@ is off."
(defun km/gnus-avy-goto-subword-and-select ()
(interactive)
- (call-interactively #'avy-goto-subword-1)
+ (let (avy-all-windows)
+ (call-interactively #'avy-goto-subword-1))
(gnus-summary-scroll-up 0))
(defun km/gnus-follow-last-message-link (copy)
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 7cdb27f..b4e5eb0 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -471,7 +471,8 @@ displayed in the agenda."
(defun km/org-agenda-avy-goto-subword-1 ()
(interactive)
- (call-interactively #'avy-goto-subword-1)
+ (let (avy-all-windows)
+ (call-interactively #'avy-goto-subword-1))
(org-agenda-do-context-action))
(define-key km/global-org-map "a" 'org-agenda)