all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Will Pierce <pierwill@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] document org-at-heading-p
Date: Thu, 1 Nov 2018 10:14:05 -0500	[thread overview]
Message-ID: <CAF-DrMgM2EFizrXS=HR+81JQ2y2DECQhFVVU8LG=780rSKtqgg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 53 bytes --]

* add brief docstring pointing to outline-on-heading

[-- Attachment #1.2: Type: text/html, Size: 99 bytes --]

[-- Attachment #2: 0001-document-org-at-heading-p.patch --]
[-- Type: application/octet-stream, Size: 797 bytes --]

From 41796f33d083367bf99303cb8d33f289472825b5 Mon Sep 17 00:00:00 2001
From: pierwill <19642016+pierwill@users.noreply.github.com>
Date: Thu, 1 Nov 2018 10:08:35 -0500
Subject: [PATCH] document org-at-heading-p

* add brief docstring pointing to outline-on-heading
---
 lisp/org.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/org.el b/lisp/org.el
index c0eaecdab..52b817ef0 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -22978,6 +22978,9 @@ interactive command with similar behavior."
      (null (re-search-backward org-outline-regexp-bol nil t)))))
 
 (defun org-at-heading-p (&optional ignored)
+  "Return t if point is on a heading line.
+
+Calls `outline-on-heading-p'."
   (outline-on-heading-p t))
 
 (defun org-in-commented-heading-p (&optional no-inheritance)
-- 
2.19.1


             reply	other threads:[~2018-11-01 15:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 15:14 Will Pierce [this message]
2018-11-01 17:31 ` [PATCH] document org-at-heading-p Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF-DrMgM2EFizrXS=HR+81JQ2y2DECQhFVVU8LG=780rSKtqgg@mail.gmail.com' \
    --to=pierwill@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.