[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 15ef234157 1/5: Specify existing face for backli
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 15ef234157 1/5: Specify existing face for backlink buttons. |
Date: |
Sun, 10 Jul 2022 23:57:28 -0400 (EDT) |
branch: externals/denote
commit 15ef234157abb3f7192129cc05e6f07637105c05
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Specify existing face for backlink buttons.
This prevent error messages.
---
denote-link.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/denote-link.el b/denote-link.el
index 2851d3cc7f..82df7a2034 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -367,10 +367,13 @@ positions, limit the process to the region in-between."
;;;; Backlinks' buffer
+(defface denote-link--backlink-button nil
+ "Face for backlink buttons.")
+
(define-button-type 'denote-link-backlink-button
'follow-link t
'action #'denote-link--backlink-find-file
- 'face 'unspecified) ; we use this face attribute to style it later
+ 'face 'denote-link--backlink-button) ; we use this face attribute to
style it later
(defun denote-link--backlink-find-file (button)
"Action for BUTTON to `find-file'."