Add docstring for `org-at-heading-p'

* lisp/org.el (org-at-heading-p): Add docstring.

Reported-by: Will Pierce <pierwill@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00006.html>
This commit is contained in:
Nicolas Goaziou 2018-11-01 18:29:35 +01:00
parent 643481fade
commit 67cea44c9f
1 changed files with 2 additions and 1 deletions

View File

@ -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)