Merge pull request #3415 from flatwhatson/repl-fix
Fix error when opening REPL from unsupported mode
This commit is contained in:
commit
48dccf1c93
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
|||
(defun +eval-open-repl (prompt-p &optional displayfn)
|
||||
(cl-destructuring-bind (_mode fn . plist)
|
||||
(or (assq major-mode +eval-repls)
|
||||
(list))
|
||||
(list nil nil))
|
||||
(when (or (not fn) prompt-p)
|
||||
(let* ((choices (or (cl-loop for sym being the symbols
|
||||
for sym-name = (symbol-name sym)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue