Fix obsolete (when|if)-let messages in Emacs 26
This commit is contained in:
parent
e168118243
commit
76a4ae459d
40 changed files with 110 additions and 103 deletions
|
@ -50,7 +50,7 @@
|
|||
(defvar +doom-modeline-current-window (frame-selected-window))
|
||||
(defun +doom-modeline|set-selected-window (&rest _)
|
||||
"Sets `+doom-modeline-current-window' appropriately"
|
||||
(when-let (win (frame-selected-window))
|
||||
(when-let* ((win (frame-selected-window)))
|
||||
(unless (minibuffer-window-active-p win)
|
||||
(setq +doom-modeline-current-window win))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue