mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
Fix obsolete (when|if)-let messages in Emacs 26
This commit is contained in:
@@ -41,8 +41,8 @@ module to be loaded."
|
||||
(user-error ":feature workspaces is required, but disabled"))
|
||||
(unless (+workspace-get "eshell" t)
|
||||
(+workspace/new "eshell"))
|
||||
(if-let (buf (cl-find-if (lambda (it) (string-match-p "^\\*doom:eshell" (buffer-name (window-buffer it))))
|
||||
(doom-visible-windows)))
|
||||
(if-let* ((buf (cl-find-if (lambda (it) (string-match-p "^\\*doom:eshell" (buffer-name (window-buffer it))))
|
||||
(doom-visible-windows))))
|
||||
(select-window (get-buffer-window buf))
|
||||
(+eshell/open))
|
||||
(doom/workspace-display)
|
||||
|
Reference in New Issue
Block a user