Minify eshell/emacs function

This commit is contained in:
MitchMarq42 2022-08-28 14:25:26 -08:00
parent 884d9a13f3
commit 4e05974fb1

View File

@ -136,12 +136,9 @@ NAME and ARGS are in `use-package'."
"Basically you can edit ARGS and it will open in a new buffer. "Basically you can edit ARGS and it will open in a new buffer.
When your shell is Emacs, your Emacs is but an oyster... When your shell is Emacs, your Emacs is but an oyster...
This is taken from a website that I can't remember at the moment." This is taken from a website that I can't remember at the moment."
(if (null args) (if (null args) (bury-buffer)
(bury-buffer) (mapc #'find-file-other-window
(mapc (mapcar #'expand-file-name (flatten-tree (reverse args))))))
#'find-file-other-window
(mapcar
#'expand-file-name (flatten-tree (reverse args))))))
:general :general
(general-define-key (general-define-key
:states 'normal :states 'normal