[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia 5259a563e3: Use string-clean-whitespace
From: |
ELPA Syncer |
Subject: |
[elpa] externals/marginalia 5259a563e3: Use string-clean-whitespace |
Date: |
Sat, 14 Jan 2023 13:57:57 -0500 (EST) |
branch: externals/marginalia
commit 5259a563e391dbf11521aaf68bde643a3d65c067
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use string-clean-whitespace
---
marginalia.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 4559e8f3dc..a1142b2e4d 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -755,10 +755,8 @@ The string is transformed according to
`marginalia--bookmark-type-transforms'."
((bookmark-get-filename bm)
:truncate -0.5 :face 'marginalia-file-name)
((unless (or (not front) (string= front ""))
- (concat (string-trim
- (replace-regexp-in-string
- "[ \t]+" " "
- (string-replace "\n" "\\\\n" front)))
+ (concat (string-clean-whitespace
+ (string-replace "\n" "\\n" front))
(marginalia--ellipsis)))
:truncate -0.3 :face 'marginalia-documentation)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/marginalia 5259a563e3: Use string-clean-whitespace,
ELPA Syncer <=