branch: externals/denote commit 112a12e6e5755a358c545bafef0b23977237a0c5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Remove duplicate word from face names --- denote-dired.el | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/denote-dired.el b/denote-dired.el index fa6d1ee9e6..6e36bfddd7 100644 --- a/denote-dired.el +++ b/denote-dired.el @@ -108,7 +108,7 @@ renaming attachments that the user adds to their notes." ;;;; Extra fontification -(defface denote-dired-dired-field-date +(defface denote-dired-field-date '((((class color) (min-colors 88) (background light)) :foreground "#00538b") (((class color) (min-colors 88) (background dark)) @@ -117,22 +117,22 @@ renaming attachments that the user adds to their notes." "Face for file name date in `dired-mode' buffers." :group 'denote-dired) -(defface denote-dired-dired-field-time - '((t :inherit denote-dired-dired-field-date)) +(defface denote-dired-field-time + '((t :inherit denote-dired-field-date)) "Face for file name time in `dired-mode' buffers." :group 'denote-dired) -(defface denote-dired-dired-field-title +(defface denote-dired-field-title '((t )) "Face for file name title in `dired-mode' buffers." :group 'denote-dired) -(defface denote-dired-dired-field-extension +(defface denote-dired-field-extension '((t :inherit shadow)) "Face for file extension type in `dired-mode' buffers." :group 'denote-dired) -(defface denote-dired-dired-field-keywords +(defface denote-dired-field-keywords '((default :inherit bold) (((class color) (min-colors 88) (background light)) :foreground "#8f0075") @@ -142,7 +142,7 @@ renaming attachments that the user adds to their notes." "Face for file name keywords in `dired-mode' buffers." :group 'denote-dired) -(defface denote-dired-dired-field-delimiter +(defface denote-dired-field-delimiter '((((class color) (min-colors 88) (background light)) :foreground "gray70") (((class color) (min-colors 88) (background dark)) @@ -153,15 +153,15 @@ renaming attachments that the user adds to their notes." (defconst denote-dired-font-lock-keywords `((,denote--file-regexp - (1 'denote-dired-dired-field-date) - (2 'denote-dired-dired-field-time) - (3 'denote-dired-dired-field-delimiter) - (4 'denote-dired-dired-field-title) - (5 'denote-dired-dired-field-delimiter) - (6 'denote-dired-dired-field-keywords) - (7 'denote-dired-dired-field-extension)) + (1 'denote-dired-field-date) + (2 'denote-dired-field-time) + (3 'denote-dired-field-delimiter) + (4 'denote-dired-field-title) + (5 'denote-dired-field-delimiter) + (6 'denote-dired-field-keywords) + (7 'denote-dired-field-extension)) ("_" - (0 'denote-dired-dired-field-delimiter t))) + (0 'denote-dired-field-delimiter t))) "Keywords for fontification.") ;;;###autoload