Browse Source

`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.
Eric Schulte 11 years ago
parent
commit
bceb151b7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-tangle.el

+ 1 - 1
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)