瀏覽代碼

babel: Fix prefix version of `org-babel-switch-to-session'

	* ob.el (org-babel-switch-to-session): Supply missing "P"
	argument to (interactive)
Dan Davison 14 年之前
父節點
當前提交
ad7d9c43c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -439,7 +439,7 @@ session."
 If called with a prefix argument then evaluate the header arguments
 for the source block before entering the session. Copy the body
 of the source block to the kill ring."
-  (interactive)
+  (interactive "P")
   (let* ((info (or info (org-babel-get-src-block-info)))
          (lang (nth 0 info))
          (body (nth 1 info))