summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-afio.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eos/jao-afio.el')
-rw-r--r--lib/eos/jao-afio.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 470981d..28e6f67 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -86,7 +86,7 @@
(delete-other-windows)
(split-window-right)
(let ((docs (cl-remove-if-not (lambda (b)
- (with-current-buffer b (jao-doc-view--is-pdf)))
+ (with-current-buffer b (jao-doc-view--is-doc)))
(buffer-list))))
(if (car docs)
(progn (switch-to-buffer (car docs))