[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/htmlize 355349d4a9 5/8: Properly propertize a constant str
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/htmlize 355349d4a9 5/8: Properly propertize a constant string |
Date: |
Mon, 12 Feb 2024 07:00:12 -0500 (EST) |
branch: elpa/htmlize
commit 355349d4a91aca335c59726a4eb9c25b0b1356bf
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Hrvoje Nikšić <hniksic@gmail.com>
Properly propertize a constant string
---
htmlize.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/htmlize.el b/htmlize.el
index 96a354e091..b1da2fe0a0 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -594,8 +594,7 @@ list."
(base64-encode-string (plist-get imgprops :data))
alt-attr)))))
-(defconst htmlize-ellipsis "...")
-(put-text-property 0 (length htmlize-ellipsis) 'htmlize-ellipsis t
htmlize-ellipsis)
+(defconst htmlize-ellipsis (propertize "..." 'htmlize-ellipsis t))
(defun htmlize-match-inv-spec (inv)
(cl-member inv buffer-invisibility-spec
- [nongnu] elpa/htmlize updated (dd27bc3f26 -> 09d43dfa44), ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize ad8bbe9d37 6/8: Shorten long lines, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize e0e48af49e 1/8: Add emacs to Package-Requires header, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize d1e8d2617c 2/8: Avoid using interactive-p, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize 1f33a9de76 4/8: Fix number of semicolons used in a comment, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize 7d58792da4 3/8: Address compiler warnings, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize 355349d4a9 5/8: Properly propertize a constant string,
ELPA Syncer <=
- [nongnu] elpa/htmlize 3f9114c91b 7/8: Remove trailing whitespace, ELPA Syncer, 2024/02/12
- [nongnu] elpa/htmlize 09d43dfa44 8/8: Settle on using only spaces for indentation, ELPA Syncer, 2024/02/12