feature/eval: reorganize; move settings into init.el

This commit is contained in:
Henrik Lissner
2018-05-14 01:22:33 +02:00
parent 83118dc65c
commit 866030bdc6
3 changed files with 56 additions and 49 deletions

View File

@@ -3,6 +3,9 @@
(defvar +eval-repl-buffer nil
"The buffer of the last open repl.")
(define-minor-mode +eval-repl-mode
"A minor mode for REPL buffers.")
(defun +eval--ensure-in-repl-buffer (&optional command same-window-p)
(cond ((eq (current-buffer) +eval-repl-buffer))
((and +eval-repl-buffer