[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/denote-refs 69cdec1c3d 2/9: Support plain text notes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/denote-refs 69cdec1c3d 2/9: Support plain text notes |
Date: |
Mon, 19 Dec 2022 14:59:00 -0500 (EST) |
branch: elpa/denote-refs
commit 69cdec1c3d444dc55de38a9cb0abdfa106884b0d
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Support plain text notes
* denote-refs.el (denote-refs--render): Support 'text-mode'.
---
denote-refs.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/denote-refs.el b/denote-refs.el
index d482448f65..dc58ac0cd6 100644
--- a/denote-refs.el
+++ b/denote-refs.el
@@ -86,7 +86,9 @@ the key is the absolute path.")
('links denote-refs--links)
('backlinks denote-refs--backlinks))))
(pcase major-mode
- ('org-mode
+ ;; There's no comment syntax in `text-mode', so just follow
+ ;; `org-mode'.
+ ((or 'org-mode 'text-mode)
;; Insert references count.
(insert (if (eq refs 'not-ready)
(format "# ... %s\n" (if (eq section 'links)
- [nongnu] branch elpa/denote-refs created (now d7908630b3), ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs fd767c5199 5/9: Don't repeat update timer, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs 478ff07529 8/9: Refactored various things, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs c41007596e 1/9: Support Org mode notes, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs 69cdec1c3d 2/9: Support plain text notes,
ELPA Syncer <=
- [nongnu] elpa/denote-refs 36fbf22f85 3/9: Support Markdown notes, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs 1493b87d35 6/9: Ensure buffer is live before updating with timer, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs 9bca564284 7/9: Report zero references when file doesn't exist, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs d7908630b3 9/9: ; * .dir-locals.el: New file, ELPA Syncer, 2022/12/19
- [nongnu] elpa/denote-refs 1de65d20e8 4/9: Don't error when used with 'org-capture', ELPA Syncer, 2022/12/19