emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/orderless 871eb1d0f0 178/204: Use add-face-text-propert


From: ELPA Syncer
Subject: [elpa] externals/orderless 871eb1d0f0 178/204: Use add-face-text-property
Date: Tue, 11 Jan 2022 12:58:28 -0500 (EST)

branch: externals/orderless
commit 871eb1d0f0f4023bb753f0dbffeac229c4d806f8
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use add-face-text-property
---
 orderless.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/orderless.el b/orderless.el
index ce0396dc9b..72a8ac350a 100644
--- a/orderless.el
+++ b/orderless.el
@@ -6,7 +6,7 @@
 ;; Keywords: extensions
 ;; Version: 0.6
 ;; Homepage: https://github.com/oantolin/orderless
-;; Package-Requires: ((emacs "24.4"))
+;; Package-Requires: ((emacs "26.1"))
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -278,10 +278,10 @@ at a word boundary in the candidate.  This is similar to 
the
            (cl-loop
             for (x y) on (or (cddr (match-data)) (match-data)) by #'cddr
             when x do
-            (font-lock-prepend-text-property
+            (add-face-text-property
              x y
-             'face (aref orderless-match-faces (mod i n))
-             string)))
+             (aref orderless-match-faces (mod i n))
+             nil string)))
   string)
 
 (defun orderless-highlight-matches (regexps strings)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]