From b19c1f98fae14e2c1747dd05a56ae1602d378318 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 31 Jan 2022 13:55:31 -0600 Subject: Update `+eshell-quit-or-delete-char' --- lisp/+eshell.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lisp/+eshell.el') 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'." (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))) -- cgit 1.4.1-21-gabe81