From 4308710de811e3b4e2fb47f9024439df03e96b90 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 7 Nov 2024 18:01:13 +0000 Subject: {if,when}-let deprecation in emacs 31 --- lib/doc/jao-doc-session.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/doc/jao-doc-session.el') 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)))) -- cgit v1.2.3