[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 3319970d08 02/32: Make links to Org headings onl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 3319970d08 02/32: Make links to Org headings only work for Org |
Date: |
Sat, 20 Jan 2024 00:57:40 -0500 (EST) |
branch: externals/denote
commit 3319970d0815ef0b8ff707e2d365815d1e20599e
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make links to Org headings only work for Org
We do not want to create a PROPERTIES drawer in txt files, for example.
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index b97daf10ea..8da25947cb 100644
--- a/denote.el
+++ b/denote.el
@@ -3959,8 +3959,8 @@ If the entry already has a CUSTOM_ID, return it as-is."
(org-link-store-props
:type "denote"
:description file-title
- :link (if denote-link-to-org-headings
(format "denote:%s::#%s" file-id
(denote--link-ol-id-get-create))
+ :link (if (and denote-link-to-org-headings (derived-mode-p 'org-mode))
(concat "denote:" file-id)))
org-store-link-plist))
- [elpa] externals/denote e026e60fd9 18/32: Update denote-org-store-link-to-heading doc to mention org-insert-link, (continued)
- [elpa] externals/denote e026e60fd9 18/32: Update denote-org-store-link-to-heading doc to mention org-insert-link, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 158d94735f 19/32: Expand denote-org-link-to-heading doc string to explain some technicalities, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 6a1e7a11d1 22/32: Add denote--remove-dot-characters and denote--trim-right-token-characters and use them in denote-sluggify, ELPA Syncer, 2024/01/20
- [elpa] externals/denote eaa00f2fd4 24/32: Make denote-link-description-with-signature-and-title return the active region even if empty, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 524203e403 25/32: Make org-store-link also capture the heading text as part of the description, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 0d27b6ef20 12/32: Rename user option to denote-org-store-link-to-heading and document it better, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 3e6bf5be6c 21/32: Use denote-link-ol-get-heading instead of the underlying Org function, ELPA Syncer, 2024/01/20
- [elpa] externals/denote d21e5e0644 31/32: Merge pull request #227 from jeanphilippegg/fix-denote--trim-right-token-characters, ELPA Syncer, 2024/01/20
- [elpa] externals/denote 48b8abc43d 29/32: Merge pull request #226 from jeanphilippegg/empty-region-and-links, ELPA Syncer, 2024/01/20
- [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 <=
- [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, 2024/01/20
- [elpa] externals/denote 8faccbd216 23/32: Mention denote-org-store-link-to-heading in the link handler, ELPA Syncer, 2024/01/20