Don't clobber the crontab command in eshell

This commit is contained in:
Jeremy Dormitzer 2019-02-06 19:15:05 -05:00
parent b309892571
commit 1725afbb60

View File

@ -2108,7 +2108,7 @@ Preserve the leader key:
Magit ships with a cool utility called =with-editor= that lets you run a shell command using the current Emacs instance as $EDITOR. This means we can define a command to edit the crontab with the current Emacs instance: Magit ships with a cool utility called =with-editor= that lets you run a shell command using the current Emacs instance as $EDITOR. This means we can define a command to edit the crontab with the current Emacs instance:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun crontab () (defun edit-crontab ()
(interactive) (interactive)
(with-editor-async-shell-command "crontab -e")) (with-editor-async-shell-command "crontab -e"))
#+END_SRC #+END_SRC