0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

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

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)