From 4f16d1635a8a34864500be57939f71a7c398cf96 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 5 Oct 2021 14:37:49 +0100 Subject: nits --- lib/eos/jao-afio.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/eos') 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)))) -- cgit v1.2.3