mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Fix ein:worksheet-turn-on-autoexec
Argument using `&key' is needed to be passed with keyword always.
This commit is contained in:
parent
e38bb5d528
commit
24df4cde68
1 changed files with 2 additions and 1 deletions
|
@ -652,7 +652,8 @@ To use autoexec feature, you need to turn on auto-execution mode
|
|||
in connected buffers, using the `ein:connect-toggle-autoexec'
|
||||
command."
|
||||
(interactive
|
||||
(list (ein:worksheet-get-cells-in-region-or-at-point #'ein:codecell-p)
|
||||
(list (ein:worksheet-get-cells-in-region-or-at-point
|
||||
:cell-p #'ein:codecell-p)
|
||||
current-prefix-arg))
|
||||
(mapc (lambda (c) (ein:cell-set-autoexec c (not off))) cells)
|
||||
(ein:log 'info "Turn %s auto-execution flag of %s cells."
|
||||
|
|
Loading…
Add table
Reference in a new issue