summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Wahl <marcowahlsoft@gmail.com>2017-12-16 18:17:10 +0100
committerMarco Wahl <marcowahlsoft@gmail.com>2017-12-16 18:17:10 +0100
commit3f2968c6500cee53898c79b1e0f37a46d730a08e (patch)
tree374b0e7a496f704bb3172dce6b25dea2b4e89388
parent6ffcdcbf021a29eca2ac6268c8cca0050cff96f6 (diff)
downloadorg-mode-3f2968c6500cee53898c79b1e0f37a46d730a08e.tar.gz
org: Insert a blank with structure template type "src"
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index d705d89..fcf5678 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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