diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-26 10:55:22 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-30 22:34:04 -0700 |
commit | ab1dbe94462d611ce482d3d52ddd4262bdd69228 (patch) | |
tree | fb4307f62870cb235ccea11e7efd7a08e491b099 /.emacs.d/eshell | |
parent | 124632f7aca4beaca62ab10c711be3b1c65b851d (diff) | |
download | dotfiles-ab1dbe94462d611ce482d3d52ddd4262bdd69228.tar.gz |
gdbmacs instance, s.t. can always run Emacs under gdb, and for Gnus
Diffstat (limited to '.emacs.d/eshell')
-rw-r--r-- | .emacs.d/eshell/profile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/eshell/profile b/.emacs.d/eshell/profile index 59099604..42eb0e8a 100644 --- a/.emacs.d/eshell/profile +++ b/.emacs.d/eshell/profile @@ -1,7 +1,7 @@ # for processes spawned by Eshell, drop the -c/-t set in ~/.shenv, so that the -# Emacs frame containing Eshell gets reused -export EDITOR=emacsclient -export VISUAL=emacsclient +# Emacs frame containing Eshell gets reused, and pass -s if necessary +export EDITOR="emacsclient$(if (stringp (daemonp)) (concat \" -s\" (daemonp)) \"\")" +export VISUAL="$EDITOR" # debconf will fall back to this frontend but emit a warning; set it ourselves # to avoid that warning |