From 7a008217e323ac8cd539e78e12695e60b495c421 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Tue, 2 Jun 2015 16:59:57 +0200 Subject: [PATCH] avy.el (avy-dowindows): Ignore pdf-view-mode Fixes #57 --- avy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avy.el b/avy.el index 40e7882..2697eb4 100644 --- a/avy.el +++ b/avy.el @@ -371,7 +371,7 @@ multiple DISPLAY-FN invokations." avy-all-windows))) (dolist (wnd (avy-window-list)) (with-selected-window wnd - (unless (memq major-mode '(image-mode doc-view-mode)) + (unless (memq major-mode '(image-mode doc-view-mode pdf-view-mode)) ,@body))))) (defmacro avy--with-avy-keys (command &rest body)