summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-gnus.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 /custom/jao-custom-gnus.el
parent5efb9fee7e72c8c514d08940e98f7eb24b90c374 (diff)
downloadelibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.gz
elibs-4308710de811e3b4e2fb47f9024439df03e96b90.tar.bz2
{if,when}-let deprecation in emacs 31
Diffstat (limited to 'custom/jao-custom-gnus.el')
-rw-r--r--custom/jao-custom-gnus.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el
index 70823ef..c56599e 100644
--- a/custom/jao-custom-gnus.el
+++ b/custom/jao-custom-gnus.el
@@ -583,7 +583,7 @@
(let ((offset (or (and (search-forward-regexp "^Enclosure: " nil t) 2)
(and (search-forward-regexp "^Enclosure$" nil t) -2))))
(when offset (forward-char offset))
- (if-let ((url (jao-url-around-point)))
+ (if-let* ((url (jao-url-around-point)))
(jao-mpc-add-or-play-url url)
(error "No enclosure found"))))))