mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: (if|when)-let -> (if|when)-let*
With the former macros' future in the air (and likely to be targeted in future, potentially breaking changes), I'll deal with this now than have it bite me later. Ref: https://lists.gnu.org/archive/html/emacs-devel/2024-10/msg00637.html
This commit is contained in:
@ -26,7 +26,7 @@ This excludes the protocol and querystring."
|
||||
(re-search-forward "://" end t))
|
||||
(save-excursion
|
||||
(goto-char end)
|
||||
(- (if-let (pos (re-search-backward "[?#]" beg t))
|
||||
(- (if-let* ((pos (re-search-backward "[?#]" beg t)))
|
||||
pos
|
||||
end)
|
||||
(if (evil-visual-state-p)
|
||||
|
Reference in New Issue
Block a user