mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void variable error while opening REPLs
This commit is contained in:
@ -18,7 +18,8 @@
|
||||
(setq +eval-repl-buffer repl-buffer)
|
||||
(select-window (doom-popup-buffer repl-buffer)))))
|
||||
(when (eq (current-buffer) +eval-repl-buffer)
|
||||
(goto-char (if (derived-mode-p 'comint-mode)
|
||||
(goto-char (if (and (derived-mode-p 'comint-mode)
|
||||
(cdr comint-last-prompt))
|
||||
(cdr comint-last-prompt)
|
||||
(point-max)))
|
||||
t)))
|
||||
|
Reference in New Issue
Block a user