summaryrefslogtreecommitdiffhomepage
path: root/lib/doc/jao-doc-session.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-11-07 18:01:13 +0000
committerjao <jao@gnu.org>2024-11-07 18:01:13 +0000
commit4308710de811e3b4e2fb47f9024439df03e96b90 (patch)
treefb719224f99c57d6b2b9b0bd4257208f7d038dc4 /lib/doc/jao-doc-session.el
parent5efb9fee7e72c8c514d08940e98f7eb24b90c374 (diff)
downloadelibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.gz
elibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.bz2
{if,when}-let deprecation in emacs 31
Diffstat (limited to 'lib/doc/jao-doc-session.el')
-rw-r--r--lib/doc/jao-doc-session.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doc/jao-doc-session.el b/lib/doc/jao-doc-session.el
index 877a8cb..928cf26 100644
--- a/lib/doc/jao-doc-session.el
+++ b/lib/doc/jao-doc-session.el
@@ -36,7 +36,7 @@
(let ((docs '())
(cb (and skip-current (current-buffer))))
(dolist (b (buffer-list))
- (when-let (fs (and (not (eq cb b)) (jao-doc-session-is-doc b)))
+ (when-let* ((fs (and (not (eq cb b)) (jao-doc-session-is-doc b))))
(dolist (f fs) (add-to-list 'docs f))))
(when (or force (> (length docs) 0))
(setq jao-doc-session docs))))