summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lisp/+eshell.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/+eshell.el b/lisp/+eshell.el index d70bed7..bcab846 100644 --- a/lisp/+eshell.el +++ b/lisp/+eshell.el
@@ -31,7 +31,12 @@ any directory proferred by `consult-dir'."
31 (if (and (eolp) (looking-back eshell-prompt-regexp)) 31 (if (and (eolp) (looking-back eshell-prompt-regexp))
32 (progn (eshell-life-is-too-much) 32 (progn (eshell-life-is-too-much)
33 (when (and (<= 1 (count-windows)) 33 (when (and (<= 1 (count-windows))
34 ;; I'm guessing the extra frame is for the server? 34 ;; TODO: This is not what I want. What I really want is
35 ;; for an eshell-only frame (i.e., called from a
36 ;; keybind) to delete itself, but a regular Emacs frame
37 ;; with Eshell inside to stick around. I think I'll
38 ;; need to make a frame-local (?) variable for that to
39 ;; work.
35 (> (length (frame-list)) 2) 40 (> (length (frame-list)) 2)
36 server-process) 41 server-process)
37 (delete-frame))) 42 (delete-frame)))