Bytecompiler bytecompiler, won't you shut up
This commit is contained in:
parent
803da8b3b9
commit
26c8f5c6ef
21 changed files with 31 additions and 28 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue