Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode

This commit is contained in:
Carsten Dominik 2009-11-29 01:22:26 +01:00
commit ed69cd7f3b
1 changed files with 2 additions and 1 deletions

View File

@ -639,7 +639,8 @@ following the source block."
(looking-at (concat org-babel-result-regexp "\n"))))
;; or (with optional insert) back up and make one ourselves
(when insert
(goto-char end) (forward-char 1)
(goto-char end)
(if (looking-at "[\n\r]") (forward-char 1) (insert "\n"))
(insert (concat "#+results" (if hash (concat "["hash"]"))
":"(if name (concat " " name)) "\n"))
(move-beginning-of-line 0)