diff options
author | Eric Schulte <eric.schulte@gmx.com> | 2012-01-20 11:58:07 -0700 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-01-20 11:59:53 -0700 |
commit | 4f5b6317b54c25adad4a6865bdcb7436d05fba75 (patch) | |
tree | 7f2b603552430b5e489f418dc92d8c1872c200d2 | |
parent | f92facd890bf3ced7f261f3a1586dfd715d75bcb (diff) | |
download | org-mode-4f5b6317b54c25adad4a6865bdcb7436d05fba75.tar.gz |
correctly position point when mapping hits an inline code block
* lisp/ob.el (org-babel-map-executables): Correctly position point when
mapping hits an inline code block.
-rw-r--r-- | lisp/ob.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -912,6 +912,7 @@ buffer." (goto-char (point-min)) (while (re-search-forward ,rx nil t) (goto-char (match-beginning 1)) + (when (looking-at org-babel-inline-src-block-regexp)(forward-char 1)) (save-match-data ,@body) (goto-char (match-end 0)))) (unless visited-p (kill-buffer to-be-removed)) |