瀏覽代碼

ob-core.el (org-babel-do-in-edit-buffer): Tiny code cleanup

* ob-core.el (org-babel-do-in-edit-buffer): Tiny code cleanup.
Bastien Guerry 11 年之前
父節點
當前提交
7893cddc88
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-core.el

+ 1 - 1
lisp/ob-core.el

@@ -984,7 +984,7 @@ with a prefix argument then this is passed on to
 Return t if a code block was found at point, nil otherwise."
 Return t if a code block was found at point, nil otherwise."
   `(let ((org-src-window-setup 'switch-invisibly))
   `(let ((org-src-window-setup 'switch-invisibly))
      (when (and (org-babel-where-is-src-block-head)
      (when (and (org-babel-where-is-src-block-head)
-		(org-edit-src-code nil nil nil))
+		(org-edit-src-code))
        (unwind-protect (progn ,@body)
        (unwind-protect (progn ,@body)
 	 (if (org-bound-and-true-p org-edit-src-from-org-mode)
 	 (if (org-bound-and-true-p org-edit-src-from-org-mode)
 	     (org-edit-src-exit)))
 	     (org-edit-src-exit)))