Update `+eshell-quit-or-delete-char'
This commit is contained in:
parent
5bb0040b8a
commit
b19c1f98fa
|
@ -31,7 +31,12 @@ any directory proferred by `consult-dir'."
|
|||
(if (and (eolp) (looking-back eshell-prompt-regexp))
|
||||
(progn (eshell-life-is-too-much)
|
||||
(when (and (<= 1 (count-windows))
|
||||
;; I'm guessing the extra frame is for the server?
|
||||
;; TODO: This is not what I want. What I really want is
|
||||
;; for an eshell-only frame (i.e., called from a
|
||||
;; keybind) to delete itself, but a regular Emacs frame
|
||||
;; with Eshell inside to stick around. I think I'll
|
||||
;; need to make a frame-local (?) variable for that to
|
||||
;; work.
|
||||
(> (length (frame-list)) 2)
|
||||
server-process)
|
||||
(delete-frame)))
|
||||
|
|
Loading…
Reference in New Issue