mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:37:50 +00:00
org: Insert a blank with structure template type "src"
This commit is contained in:
parent
6ffcdcbf02
commit
3f2968c650
|
@ -11918,7 +11918,7 @@ in the block. Otherwise, insert an empty block."
|
||||||
(setq column (current-indentation))
|
(setq column (current-indentation))
|
||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(indent-to column)
|
(indent-to column)
|
||||||
(insert (format "#+begin_%s\n" type))
|
(insert (format "#+begin_%s%s\n" type (if (string-equal "src" type) " " "")))
|
||||||
(goto-char e)
|
(goto-char e)
|
||||||
(if (bolp)
|
(if (bolp)
|
||||||
(progn
|
(progn
|
||||||
|
|
Loading…
Reference in a new issue