org: Insert a blank with structure template type "src"

This commit is contained in:
Marco Wahl 2017-12-16 18:17:10 +01:00
parent 6ffcdcbf02
commit 3f2968c650
1 changed files with 1 additions and 1 deletions

View File

@ -11918,7 +11918,7 @@ in the block. Otherwise, insert an empty block."
(setq column (current-indentation))
(beginning-of-line)
(indent-to column)
(insert (format "#+begin_%s\n" type))
(insert (format "#+begin_%s%s\n" type (if (string-equal "src" type) " " "")))
(goto-char e)
(if (bolp)
(progn