mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #3415 from flatwhatson/repl-fix
Fix error when opening REPL from unsupported mode
This commit is contained in:
@ -51,7 +51,7 @@
|
|||||||
(defun +eval-open-repl (prompt-p &optional displayfn)
|
(defun +eval-open-repl (prompt-p &optional displayfn)
|
||||||
(cl-destructuring-bind (_mode fn . plist)
|
(cl-destructuring-bind (_mode fn . plist)
|
||||||
(or (assq major-mode +eval-repls)
|
(or (assq major-mode +eval-repls)
|
||||||
(list))
|
(list nil nil))
|
||||||
(when (or (not fn) prompt-p)
|
(when (or (not fn) prompt-p)
|
||||||
(let* ((choices (or (cl-loop for sym being the symbols
|
(let* ((choices (or (cl-loop for sym being the symbols
|
||||||
for sym-name = (symbol-name sym)
|
for sym-name = (symbol-name sym)
|
||||||
|
Reference in New Issue
Block a user