Browse Source

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 years ago
parent
commit
ad7d9c43c8
1 changed files with 1 additions and 1 deletions
  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
 If called with a prefix argument then evaluate the header arguments
 for the source block before entering the session. Copy the body
 for the source block before entering the session. Copy the body
 of the source block to the kill ring."
 of the source block to the kill ring."
-  (interactive)
+  (interactive "P")
   (let* ((info (or info (org-babel-get-src-block-info)))
   (let* ((info (or info (org-babel-get-src-block-info)))
          (lang (nth 0 info))
          (lang (nth 0 info))
          (body (nth 1 info))
          (body (nth 1 info))