From e553ef224828e4d2682a8481d2eb7a8da77929b9 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 24 Sep 2015 00:01:39 +0200 Subject: [PATCH] Make `org-show-children' interactive * lisp/org.el (org-show-children): Make it a command. Reported-by: Tokuya Kameshima --- lisp/org.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 270aa4fa0..ff88310f6 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -24917,8 +24917,10 @@ modified." (defun org-show-children (&optional level) "Show all direct subheadings of this heading. -Prefix arg LEVEL is how many levels below the current level should be shown. -Default is enough to cause the following heading to appear." +Prefix arg LEVEL is how many levels below the current level +should be shown. Default is enough to cause the following +heading to appear." + (interactive "p") (save-excursion (org-back-to-heading t) (let* ((current-level (funcall outline-level))