1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

Merge branch 'maint'

This commit is contained in:
Bastien 2020-02-11 14:40:17 +01:00
commit 20ab65482a

View File

@ -2720,11 +2720,12 @@ block but are passed literally to the \"example-block\"."
(lambda (s)
;; Comment string S, according to LANG mode. Return new
;; string.
(with-temp-buffer
(funcall (org-src-get-lang-mode lang))
(comment-region (point)
(progn (insert s) (point)))
(org-trim (buffer-string)))))
(unless org-babel-tangle-uncomment-comments
(with-temp-buffer
(funcall (org-src-get-lang-mode lang))
(comment-region (point)
(progn (insert s) (point)))
(org-trim (buffer-string))))))
(expand-body
(lambda (i)
;; Expand body of code represented by block info I.