mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
add ein:exit as an alias to ein:quit and make both autoloaded
This commit is contained in:
parent
4afa698c9c
commit
0a5b663d23
1 changed files with 4 additions and 0 deletions
|
@ -1783,6 +1783,10 @@ the first argument and CBARGS as the rest of arguments."
|
|||
|
||||
(add-hook 'kill-emacs-query-functions 'ein:notebook-close-notebooks t)
|
||||
|
||||
;;;###autoload
|
||||
(defalias 'ein:exit 'ein:quit)
|
||||
|
||||
;;;###autoload
|
||||
(defun ein:quit (&optional force)
|
||||
"Close all notebooks and servers."
|
||||
(interactive "P")
|
||||
|
|
Loading…
Add table
Reference in a new issue