[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ff61ed7fed 20/32: Define denote-link-ol-get-head
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/denote ff61ed7fed 20/32: Define denote-link-ol-get-heading function |
|
Date: |
Sat, 20 Jan 2024 00:57:42 -0500 (EST) |
branch: externals/denote
commit ff61ed7fed93db15a8c7795ca017ce5731014b1f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Define denote-link-ol-get-heading function
---
denote.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/denote.el b/denote.el
index e2f74ef045..35941e5b76 100644
--- a/denote.el
+++ b/denote.el
@@ -4034,6 +4034,12 @@ create a new one."
(org-entry-put pos "CUSTOM_ID" id)
id)))
+(declare-function org-get-heading "org" (no-tags no-todo no-priority
no-comment))
+
+(defun denote-link-ol-get-heading ()
+ "Get current Org heading text."
+ (org-get-heading :no-tags :no-todo :no-priority :no-comment))
+
;;;###autoload
(defun denote-link-ol-store ()
"Handler for `org-store-link' adding support for denote: links."
- [elpa] externals/denote a4f11d3a77 32/32: Simplify regexp in denote--trim-right-token-characters, (continued)
- [elpa] externals/denote a4f11d3a77 32/32: Simplify regexp in denote--trim-right-token-characters, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 3319970d08 02/32: Make links to Org headings only work for Org, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 2957fe832d 04/32: Expand the documentation of user option to link to Org heading, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 10b9b984e4 07/32: Add denote--completion-table-no-sort, ELPA Syncer, 2024/01/20
- [elpa] externals/denote cc393d7616 05/32: Rename user option to denote-org-store-link-to-heading and document it better, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 10d332bb29 11/32: Expand the documentation of user option to link to Org heading, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 2e04e409ae 13/32: Fix typo in the manual, ELPA Syncer, 2024/01/20
- [elpa] externals/denote cc02a5160d 14/32: Merge branch 'link-to-org-headings' of github.com:protesilaos/denote into link-to-org-headings, ELPA Syncer, 2024/01/20
- [elpa] externals/denote a86267786b 15/32: Add denote-org.el, which defines 'denote-org-link-to-heading' command, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 423122e5e6 17/32: Clarify that org-insert-link is needed after org-store-link, ELPA Syncer, 2024/01/20
- [elpa] externals/denote ff61ed7fed 20/32: Define denote-link-ol-get-heading function,
ELPA Syncer <=
- [elpa] externals/denote 8faccbd216 23/32: Mention denote-org-store-link-to-heading in the link handler, ELPA Syncer, 2024/01/20
- [elpa] externals/denote cdb8a19116 26/32: Document the denote-org-link-to-heading command in the manual, ELPA Syncer, 2024/01/20
- [elpa] externals/denote cfd8961ac4 27/32: Mention 'denote-link' in 'denote-org-link-to-heading' doc string, ELPA Syncer, 2024/01/20
- [elpa] externals/denote e11a468873 28/32: Merge pull request #225 from jeanphilippegg/file-name-rules, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 3110c6dd16 30/32: Fix denote--trim-right-token-characters, ELPA Syncer, 2024/01/20