mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-org-indent-inserted-region: Reduce verbosity of doc
This commit is contained in:
parent
dcf80d51db
commit
198c036f51
1 changed files with 1 additions and 7 deletions
|
@ -1428,13 +1428,7 @@ of the fixed-width element and RESULT concatenated together."
|
||||||
|
|
||||||
(defmacro jupyter-org-indent-inserted-region (indentation &rest body)
|
(defmacro jupyter-org-indent-inserted-region (indentation &rest body)
|
||||||
"Indent the region inserted by BODY using INDENTATION.
|
"Indent the region inserted by BODY using INDENTATION.
|
||||||
INDENTATION is a form to be evaluated for the number of leading
|
If INDENTATION is nil, it defaults to `current-indentation'."
|
||||||
indentation characters. If INDENTATION is nil, it defaults to
|
|
||||||
`current-indentation'.
|
|
||||||
|
|
||||||
BODY is wrapped with a call to `jupyter-with-insertion-bounds'
|
|
||||||
before evaluation and whatever text is inserted into the buffer
|
|
||||||
after evaluation is indented by INDENTATION."
|
|
||||||
(declare (indent 1))
|
(declare (indent 1))
|
||||||
(let ((indent (make-symbol "indent")))
|
(let ((indent (make-symbol "indent")))
|
||||||
`(let ((,indent ,(or indentation '(current-indentation))))
|
`(let ((,indent ,(or indentation '(current-indentation))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue