From 418212e4eb963813c078cf290cddfe7e3defd7ed Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 12 Nov 2024 18:58:14 +0000 Subject: Revert "{if,when}-let deprecation in emacs 31" This reverts commit 4308710de811e3b4e2fb47f9024439df03e96b90. --- lib/themes/jao-themes.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/themes') diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el index 706427b..58d32a0 100644 --- a/lib/themes/jao-themes.el +++ b/lib/themes/jao-themes.el @@ -1189,7 +1189,7 @@ (push df fs))))) (defun jao-themes--adjust-palette (p s) - (if-let* ((v (alist-get s p))) (cons (cons s (car v)) (assoc-delete-all s p)) p)) + (if-let (v (alist-get s p)) (cons (cons s (car v)) (assoc-delete-all s p)) p)) (defun jao-themes--let-palette (palette) (let ((palette (seq-reduce #'jao-themes--adjust-palette '(fg bg box) palette))) -- cgit v1.2.3