mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Document ein:connect-toggle-autoexec more
This commit is contained in:
parent
37ab6ba028
commit
21981de22f
1 changed files with 12 additions and 1 deletions
|
@ -292,9 +292,20 @@ See also: `ein:connect-run-buffer', `ein:connect-eval-buffer'."
|
||||||
(defun ein:connect-toggle-autoexec ()
|
(defun ein:connect-toggle-autoexec ()
|
||||||
"Toggle auto-execution mode of the current connected buffer.
|
"Toggle auto-execution mode of the current connected buffer.
|
||||||
|
|
||||||
|
When auto-execution mode is on, cells in connected notebook will
|
||||||
|
be automatically executed whenever run, eval or reload command [#]_
|
||||||
|
is called in this buffer.
|
||||||
|
|
||||||
|
.. [#] Namely, one of
|
||||||
|
|
||||||
|
* `ein:connect-run-buffer'
|
||||||
|
* `ein:connect-eval-buffer'
|
||||||
|
* `ein:connect-run-or-eval-buffer'
|
||||||
|
* `ein:connect-reload-buffer'
|
||||||
|
|
||||||
Note that you need to set cells to run in the connecting buffer
|
Note that you need to set cells to run in the connecting buffer
|
||||||
or no cell will be executed.
|
or no cell will be executed.
|
||||||
Use the `ein:notebook-turn-on-autoexec' command in notebook to
|
Use the `ein:worksheet-turn-on-autoexec' command in notebook to
|
||||||
change the cells to run."
|
change the cells to run."
|
||||||
(interactive)
|
(interactive)
|
||||||
(ein:connect-assert-connected)
|
(ein:connect-assert-connected)
|
||||||
|
|
Loading…
Add table
Reference in a new issue