jupyter-org-goto-error-map: Add documentation

This commit is contained in:
Nathaniel Nicandro 2018-12-01 13:29:37 -06:00
parent 9a50c9c9fc
commit 13ee746ee9
No known key found for this signature in database
GPG key ID: C34814B309DD06B8

View file

@ -119,7 +119,8 @@ source code block. Set by `org-babel-execute:jupyter'.")))
(let ((map (make-sparse-keymap)))
(define-key map [mouse-2] #'jupyter-org-goto-error)
(define-key map (kbd "RET") #'jupyter-org-goto-error)
map))
map)
"Keymap for jumping to an error in a source code block.")
(defun jupyter-org-goto-error ()
"Go to the error location specified by the jupyter-error-loc text property.