org.el (org-comment-dwim): Fix docstring location

* org.el (org-comment-dwim): Fix docstring location.
This commit is contained in:
Bastien Guerry 2014-07-28 16:00:23 +02:00
parent c259952b9e
commit 31c7e3f065

View file

@ -23194,8 +23194,8 @@ strictly within a source block, use appropriate comment syntax."
(forward-line)))))))))
(defun org-comment-dwim (arg)
(interactive "*P")
"Call `comment-dwim' within a source edit buffer if needed."
(interactive "*P")
(if (org-in-src-block-p)
(org-babel-do-in-edit-buffer (call-interactively 'comment-dwim))
(call-interactively 'comment-dwim)))