Fix wrong-num-of-args on +eval/open-repl-same-window #1291

This commit is contained in:
Henrik Lissner 2019-03-30 00:09:12 -04:00
parent 49bbc7107f
commit be6efd8dbf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -36,7 +36,7 @@
(point-max)))
buffer)))
(defun +eval-open-repl (prompt-p other-window-p)
(defun +eval-open-repl (prompt-p &optional other-window-p)
(let ((command (cdr (assq major-mode +eval-repls))))
(when (or (not command) prompt-p)
(let* ((choices (or (cl-loop for sym being the symbols