diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-afio.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index f62c314..e6fce03 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -20,6 +20,8 @@ ;;; Code: +(require 'cl-lib) + (defvar jao-open-doc-fun 'find-file) (defvar jao-afio-mail-function 'gnus) (defvar jao-afio-use-w3m nil) @@ -81,9 +83,9 @@ (interactive) (delete-other-windows) (split-window-right) - (let ((docs (remove-if-not (lambda (b) - (with-current-buffer b (jao-doc-view--is-pdf))) - (buffer-list)))) + (let ((docs (cl-remove-if-not (lambda (b) + (with-current-buffer b (jao-doc-view--is-pdf))) + (buffer-list)))) (if (car docs) (progn (switch-to-buffer (car docs)) (switch-to-buffer-other-window (or (cadr docs) (car docs)))) |