Don't clobber the crontab command in eshell
This commit is contained in:
parent
b309892571
commit
1725afbb60
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user