From 67cea44c9fda74525e7d56c23bab6ed92235f9da Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 1 Nov 2018 18:29:35 +0100 Subject: [PATCH] Add docstring for `org-at-heading-p' * lisp/org.el (org-at-heading-p): Add docstring. Reported-by: Will Pierce --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index c0eaecdab..3e2654a7a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22977,7 +22977,8 @@ interactive command with similar behavior." (end-of-line) (null (re-search-backward org-outline-regexp-bol nil t))))) -(defun org-at-heading-p (&optional ignored) +(defun org-at-heading-p (&optional _) + "Non-nil when on a headline." (outline-on-heading-p t)) (defun org-in-commented-heading-p (&optional no-inheritance)