Преглед изворни кода

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 пре 15 година
родитељ
комит
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
 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))