Просмотр исходного кода

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 лет назад
Родитель
Сommit
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))