[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ae9e39c306 4/5: Merge pull request #45 from jean
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ae9e39c306 4/5: Merge pull request #45 from jeanphilippegg/backlink-button-face |
Date: |
Sun, 10 Jul 2022 23:57:28 -0400 (EDT) |
branch: externals/denote
commit ae9e39c306f968d25134f76b09298c5ee397ec1a
Merge: eba6fb1b3c 15ef234157
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: GitHub <noreply@github.com>
Merge pull request #45 from jeanphilippegg/backlink-button-face
Specify existing face for backlink buttons.
---
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'."