Fix void variable error while opening REPLs
This commit is contained in:
parent
9517a68bc2
commit
6567b46f04
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue