From 31c7e3f065c16399bb3adde08529944b038a57c3 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 28 Jul 2014 16:00:23 +0200 Subject: [PATCH] org.el (org-comment-dwim): Fix docstring location * org.el (org-comment-dwim): Fix docstring location. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index cd52535c8..59f65f426 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)))