Browse Source

babel: Make `org-babel-execute-subtree' support prefix arg

	* ob.el (org-babel-execute-subtree): Pass prefix arg through
	to `org-babel-execute-src-block'
Dan Davison 14 năm trước cách đây
mục cha
commit
d9ca67496f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -583,7 +583,7 @@ the current subtree."
   (save-restriction
     (save-excursion
       (org-narrow-to-subtree)
-      (org-babel-execute-buffer)
+      (org-babel-execute-buffer arg)
       (widen))))
 
 ;;;###autoload