Merge branch 'maint'
This commit is contained in:
commit
2c164be668
|
@ -228,11 +228,12 @@ buffer."
|
||||||
(full-info (org-babel-get-src-block-info 'light))
|
(full-info (org-babel-get-src-block-info 'light))
|
||||||
(org-mode-p (derived-mode-p 'org-mode)) ;; derived-mode-p is reflexive
|
(org-mode-p (derived-mode-p 'org-mode)) ;; derived-mode-p is reflexive
|
||||||
(beg (make-marker))
|
(beg (make-marker))
|
||||||
(end (make-marker))
|
;; Move marker with inserted text for case when src block is
|
||||||
|
;; just one empty line, i.e. beg == end.
|
||||||
|
(end (copy-marker (make-marker) t))
|
||||||
(allow-write-back-p (null code))
|
(allow-write-back-p (null code))
|
||||||
block-nindent total-nindent ovl lang lang-f single lfmt buffer msg
|
block-nindent total-nindent ovl lang lang-f single lfmt buffer msg
|
||||||
begline markline markcol line col transmitted-variables)
|
begline markline markcol line col transmitted-variables)
|
||||||
(set-marker-insertion-type end t)
|
|
||||||
(if (not info)
|
(if (not info)
|
||||||
nil
|
nil
|
||||||
(setq beg (move-marker beg (nth 0 info))
|
(setq beg (move-marker beg (nth 0 info))
|
||||||
|
|
Loading…
Reference in New Issue