summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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