Skip to content

Commit

Permalink
Fix: if-let is an obsolete macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescherti committed Jan 20, 2025
1 parent b3c25ac commit 6e2a26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easysession.el
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ Returns t if the session file exists, nil otherwise."
(easysession--prompt-session-name
"Delete session: " session-name)))
(session-file (easysession--get-session-file-name session-name)))
(if-let ((session-buffer (find-buffer-visiting session-file)))
(if-let* ((session-buffer (find-buffer-visiting session-file)))
(kill-buffer session-buffer))
(if (file-exists-p session-file)
(progn (delete-file session-file nil)
Expand Down

0 comments on commit 6e2a26a

Please sign in to comment.