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
|
@ -12,7 +12,7 @@ PROMPT (a string) and COMMAND (a list of command plists; see `def-menu!').")
|
|||
(completing-read prompt (mapcar #'car commands)))
|
||||
|
||||
(defun doom--menu-read (prompt commands)
|
||||
(if-let (choice (funcall doom-menu-display-fn prompt commands))
|
||||
(if-let* ((choice (funcall doom-menu-display-fn prompt commands)))
|
||||
(cdr (assoc choice commands))
|
||||
(user-error "Aborted")))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue