summaryrefslogtreecommitdiffhomepage
path: root/lib/doc/jao-doc-view.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/doc/jao-doc-view.el')
-rw-r--r--lib/doc/jao-doc-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doc/jao-doc-view.el b/lib/doc/jao-doc-view.el
index 95a22a6..4e210f3 100644
--- a/lib/doc/jao-doc-view.el
+++ b/lib/doc/jao-doc-view.el
@@ -61,7 +61,7 @@
(cb (when skip-current (current-buffer))))
(dolist (b (buffer-list))
(with-current-buffer b
- (when-let (fn (and (not (equalp cb b)) (jao-doc-view--is-pdf)))
+ (when-let (fn (and (not (eq cb b)) (jao-doc-view--is-pdf)))
(add-to-list 'docs fn))))
(when (> (length docs) 0)
(jao-doc-view--save-to-file jao-doc-view-session-file docs))))