mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Fix documentation of hook variables
This commit is contained in:
parent
99f1099d68
commit
fe6cf4be48
1 changed files with 16 additions and 7 deletions
|
@ -60,7 +60,10 @@ client use `jupyter-set'."
|
|||
:type 'boolean)
|
||||
|
||||
(defcustom jupyter-iopub-message-hook nil
|
||||
"Hook run with one argument, a message received on the IOPub channel.
|
||||
"Hook run when a message is received on the IOPub channel.
|
||||
The hook is called with two arguments, the Jupyter client and the
|
||||
message it received.
|
||||
|
||||
Do not add to this hook variable directly, use
|
||||
`jupyter-add-hook'. If any of the message hooks return a non-nil
|
||||
value, the client handlers will be prevented from running for the
|
||||
|
@ -70,7 +73,10 @@ message."
|
|||
(put 'jupyter-iopub-message-hook 'permanent-local t)
|
||||
|
||||
(defcustom jupyter-shell-message-hook nil
|
||||
"Hook run with one argument, a message received on the SHELL channel.
|
||||
"Hook run when a message is received on the SHELL channel.
|
||||
The hook is called with two arguments, the Jupyter client and the
|
||||
message it received.
|
||||
|
||||
Do not add to this hook variable directly, use
|
||||
`jupyter-add-hook'. If any of the message hooks return a non-nil
|
||||
value, the client handlers will be prevented from running for the
|
||||
|
@ -80,11 +86,14 @@ message."
|
|||
(put 'jupyter-shell-message-hook 'permanent-local t)
|
||||
|
||||
(defcustom jupyter-stdin-message-hook nil
|
||||
"Hook run with one argument, a message received on the STDIN channel.
|
||||
Do not add to this hook variable directly, use
|
||||
`jupyter-add-hook'. If any of the message hooks return a non-nil
|
||||
value, the client handlers will be prevented from running for the
|
||||
message."
|
||||
"Hook run when a message is received on the STDIN channel.
|
||||
The hook is called with two arguments, the Jupyter client and the
|
||||
message it received.
|
||||
|
||||
Do not add to this hook variable directly,
|
||||
use `jupyter-add-hook'. If any of the message hooks return a
|
||||
non-nil value, the client handlers will be prevented from running
|
||||
for the message."
|
||||
:group 'jupyter
|
||||
:type 'hook)
|
||||
(put 'jupyter-stdin-message-hook 'permanent-local t)
|
||||
|
|
Loading…
Add table
Reference in a new issue