[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 53e6ca2299 12/27: Tweak filename fontification t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 53e6ca2299 12/27: Tweak filename fontification to work with subdirs |
Date: |
Sun, 3 Jul 2022 00:57:34 -0400 (EDT) |
branch: externals/denote
commit 53e6ca2299f387f400a32f4e0ec45bb992a022a8
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Tweak filename fontification to work with subdirs
This is part of the development process that revolves around pull
request 24 over at the GitHub mirror:
<https://github.com/protesilaos/denote/pull/24>.
---
denote-dired.el | 2 +-
denote-link.el | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/denote-dired.el b/denote-dired.el
index e925baf141..54a83c0805 100644
--- a/denote-dired.el
+++ b/denote-dired.el
@@ -398,7 +398,7 @@ appropriate."
:group 'denote-dired)
(defconst denote-dired-font-lock-keywords
- `((,denote--file-regexp
+ `((,(concat "\\(?:.*/\\)?" denote--file-regexp)
(1 'denote-dired-field-date)
(2 'denote-dired-field-time)
(3 'denote-dired-field-delimiter)
diff --git a/denote-link.el b/denote-link.el
index e07c2089be..3305bddfe1 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -450,12 +450,12 @@ Use optional TITLE for a prettier heading."
(make-button (point-at-bol) (point-at-eol) :type
'denote-link-backlink-button)
(newline))
files)
- (goto-char (point-min)))
+ (goto-char (point-min))
;; NOTE 2022-06-15: Technically this is not Dired. Maybe we
;; should abstract the fontification into a general purpose
;; minor-mode.
- ;(when denote-link-fontify-backlinks
- ;(denote-dired-mode 1)))
+ (when denote-link-fontify-backlinks
+ (denote-dired-mode 1)))
(denote-link--display-buffer buf)))
;;;###autoload
- [elpa] externals/denote updated (2193501cef -> 25e86bf0bc), ELPA Syncer, 2022/07/03
- [elpa] externals/denote e5d6ad589b 13/27: Support subdirectories in denote--link-find-file-at-button, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 53e6ca2299 12/27: Tweak filename fontification to work with subdirs,
ELPA Syncer <=
- [elpa] externals/denote 58637a0035 04/27: Tweak doc string, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 8c724d54cf 01/27: Support subdirectories, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 12008dbcbf 11/27: Untabify a line, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 01618516ff 07/27: Refine denote--file-name-relative-to-denote-directory, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 070d4412ee 23/27: Set org-id-extra-files to all files in all subdirectories., ELPA Syncer, 2022/07/03
- [elpa] externals/denote add8f657bb 09/27: Merge pull request #25 from ggjp/subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 5f8b585349 22/27: Merge branch 'main' into subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote e1aeb459ea 19/27: Refine how faces are applied (extends 123fb2b), ELPA Syncer, 2022/07/03
- [elpa] externals/denote 123fb2b670 18/27: Put all faces in denote-faces.el, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 66e455ef84 14/27: Fix denote--current-file-is-note-p for subdirectories, ELPA Syncer, 2022/07/03