summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-06-06 09:11:54 -0600
committerEric Schulte <schulte.eric@gmail.com>2013-06-06 09:11:54 -0600
commitbceb151b7eb6a1edd274b98bac72e6a33a6fb4eb (patch)
treec6b16c84933ebfd969ff74becb069d691da79079
parent510debcf5641013254ac462c032ad0522b86ffa4 (diff)
downloadorg-mode-bceb151b7eb6a1edd274b98bac72e6a33a6fb4eb.tar.gz
`org-src-switch-to-buffer' to jump from src to org
* lisp/ob-tangle.el (org-babel-tangle-jump-to-org): Use `org-src-switch-to-buffer' to jump from src to org.
-rw-r--r--lisp/ob-tangle.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 1753255..95d518a 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -537,7 +537,7 @@ which enable the original code blocks to be found."
;; place.
(org-edit-src-exit)
(setq target-char (point)))
- (pop-to-buffer target-buffer)
+ (org-src-switch-to-buffer target-buffer t)
(prog1 body (goto-char target-char))))
(provide 'ob-tangle)