mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
Bytecompiler bytecompiler, won't you shut up
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
(defun eshell/emacs (&rest files)
|
||||
"Open a FILES in Emacs.
|
||||
For folks with a habit of using \"emacs\" to open files, even in eshell."
|
||||
(if args
|
||||
(if files
|
||||
(mapc #'find-file
|
||||
(mapcar #'expand-file-name
|
||||
(eshell-flatten-list (reverse args))))
|
||||
(eshell-flatten-list (reverse files))))
|
||||
(bury-buffer)))
|
||||
;;;###autoload
|
||||
(defalias 'eshell/e #'eshell/emacs)
|
||||
|
Reference in New Issue
Block a user