branch: externals/orderless
commit 871eb1d0f0f4023bb753f0dbffeac229c4d806f8
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    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