diff options
author | jao <jao@gnu.org> | 2024-11-07 18:01:13 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-11-07 18:01:13 +0000 |
commit | 4308710de811e3b4e2fb47f9024439df03e96b90 (patch) | |
tree | fb719224f99c57d6b2b9b0bd4257208f7d038dc4 /lib/eos/jao-afio.el | |
parent | 5efb9fee7e72c8c514d08940e98f7eb24b90c374 (diff) | |
download | elibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.gz elibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.bz2 |
{if,when}-let deprecation in emacs 31
Diffstat (limited to 'lib/eos/jao-afio.el')
-rw-r--r-- | lib/eos/jao-afio.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index b588989..a5d9b24 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -86,7 +86,7 @@ (if (car docs) (progn (switch-to-buffer (car docs)) (switch-to-buffer-other-window (or (cadr docs) (car docs)))) - (when-let (docs (jao-doc-session)) + (when-let* ((docs (jao-doc-session))) (when (y-or-n-p (format "Load saved session? (%d docs)" (length docs))) (jao-afio-open-pdf-session docs)))))) @@ -96,7 +96,7 @@ (declare-function jao-eww-session-load "jao-eww-session") (defun jao-afio--open-eww-session () - (if-let (b (jao-eww-session-eww-buffers)) + (if-let* ((b (jao-eww-session-eww-buffers))) (switch-to-buffer (car b)) (jao-eww-session-load))) |