babel: can open results which don't start on the first column
* contrib/babel/lisp/org-babel.el (org-babel-open-src-block-result): now able to handle results which don't start on the first column
This commit is contained in:
parent
cc1c446791
commit
a5712e4b0a
|
@ -354,7 +354,8 @@ results already exist."
|
|||
(goto-char (or (and (not re-run) (org-babel-where-is-src-block-result))
|
||||
(progn (org-babel-execute-src-block)
|
||||
(org-babel-where-is-src-block-result))))
|
||||
(end-of-line 1) (forward-char 1)
|
||||
(end-of-line 1)
|
||||
(while (looking-at "[\n\r\t\f ]") (forward-char 1))
|
||||
;; open the results
|
||||
(if (looking-at org-bracket-link-regexp)
|
||||
;; file results
|
||||
|
|
Loading…
Reference in New Issue