[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rainbow-delimiters ee4519d20a 046/188: Use face symbols in
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rainbow-delimiters ee4519d20a 046/188: Use face symbols instead of face strings to better cooperate with htmlize. |
Date: |
Sat, 1 Jan 2022 00:58:51 -0500 (EST) |
branch: elpa/rainbow-delimiters
commit ee4519d20ad02b82c8dbd5c0f3302a3876334244
Author: Fanael Linithien <fanael4@gmail.com>
Commit: Fanael Linithien <fanael4@gmail.com>
Use face symbols instead of face strings to better cooperate with htmlize.
---
rainbow-delimiters.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index 6c4ad40d03..0201f8b113 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -289,7 +289,8 @@ Determines depth at which to cycle through faces again.")
"Return face-name for DEPTH as a string
'rainbow-delimiters-depth-DEPTH-face'.
For example: 'rainbow-delimiters-depth-1-face'."
- (concat "rainbow-delimiters-depth-"
+ (intern-soft
+ (concat "rainbow-delimiters-depth-"
(number-to-string
(or
;; Our nesting depth has a face defined for it.
@@ -304,7 +305,7 @@ For example: 'rainbow-delimiters-depth-1-face'."
(mod depth rainbow-delimiters-max-face-count)
;; Special case: depth divides evenly into max, correct face #
is max.
rainbow-delimiters-max-face-count))))
- "-face"))
+ "-face")))
;;; Nesting level
@@ -386,7 +387,7 @@ Sets text properties:
`rear-nonsticky' to prevent color from bleeding into subsequent characters
typed by the user."
(with-silent-modifications
(let ((delim-face (if (<= depth 0)
- "rainbow-delimiters-unmatched-face"
+ 'rainbow-delimiters-unmatched-face
(rainbow-delimiters-depth-face depth))))
;; (when (eq depth -1) (message "Unmatched delimiter at char %s." loc))
(add-text-properties loc (1+ loc)
- [nongnu] elpa/rainbow-delimiters daa1737a8f 011/188: Whitespace changes., (continued)
- [nongnu] elpa/rainbow-delimiters daa1737a8f 011/188: Whitespace changes., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters f1ff54da71 051/188: Release version 1.3.5., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 2561e9853c 052/188: Attempt to fix issue #25., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 4c94853583 007/188: Add an item to the TODO list., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters b9252e33d2 057/188: Remove unneeded require., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters b656f8c9cd 064/188: Wrap rainbow-delimiters-{un, }propertize-region with with-silent-modifications and with-syntax-table., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters a1dd352c1a 059/188: Fix docstring style errors reported by checkdoc., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 3dfd3fa9b1 054/188: Use sorted-list caching to improve large-file performance, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters fc70c7ec67 058/188: Use standard form of the footer comment., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 949078cfd7 042/188: Ignoring compiled files, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters ee4519d20a 046/188: Use face symbols instead of face strings to better cooperate with htmlize.,
ELPA Syncer <=
- [nongnu] elpa/rainbow-delimiters 36df2e014c 067/188: Add code to highlight mismatched closing delimiters., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters c4c127992a 071/188: Use font-lock instead of jit-lock., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 4144a75120 070/188: Add lisp-interaction-mode to rainbow-delimiters-escaped-char-predicate-list., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 447293003b 069/188: Highlight correctly even in presence of these evil 'intangible' properties., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters f73763583c 077/188: Remove unneeded save-excursion., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters edf59bad7f 165/188: Move the usage instructions from installation to commentary., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 352b4f2bfe 177/188: No need to set inhibit-point-motion-hooks, ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters b316b7f49d 130/188: Make the MELPA Stable link actually point at MELPA Stable., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters 8012604ea9 132/188: Add maintainership information., ELPA Syncer, 2022/01/01
- [nongnu] elpa/rainbow-delimiters fb54c05ba0 095/188: Don't enable in special RefTeX modes, ELPA Syncer, 2022/01/01