mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-12 09:40:59 -07:00
refactor: s/when-let/when-let*/
The former is deprecated on Emacs 31 for the latter.
This commit is contained in:
parent
0b1de48daa
commit
4fe1cbeddb
70 changed files with 210 additions and 210 deletions
|
|
@ -47,7 +47,7 @@ root)."
|
|||
((and (not (eq major-mode 'java-mode))
|
||||
(not (eq major-mode 'java-ts-mode))
|
||||
(user-error "Not in java-mode or java-ts-mode")))
|
||||
((when-let (project-root (doom-project-root))
|
||||
((when-let* ((project-root (doom-project-root)))
|
||||
(let* ((project-root (file-truename project-root))
|
||||
(file-path
|
||||
(file-name-sans-extension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue