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

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

[nongnu] elpa/htmlize 06772e6 117/134: Don't use `alist-get', it is not


From: ELPA Syncer
Subject: [nongnu] elpa/htmlize 06772e6 117/134: Don't use `alist-get', it is not available in Emacs 24. (#17)
Date: Sat, 7 Aug 2021 09:17:19 -0400 (EDT)

branch: elpa/htmlize
commit 06772e65025fe15bfd3449bdde1522f71b4d96a1
Author: Hrvoje Niksic <hniksic@gmail.com>
Commit: Hrvoje Niksic <hniksic@gmail.com>

    Don't use `alist-get', it is not available in Emacs 24. (#17)
---
 htmlize.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htmlize.el b/htmlize.el
index 388492e..3b7c83f 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -1096,7 +1096,7 @@ If no rgb.txt file is found, return nil."
 
 (defun htmlize-face-to-fstruct (face)
   (let* ((face-list (or (and (symbolp face)
-                            (alist-get face face-remapping-alist))
+                             (cdr (assq face face-remapping-alist)))
                         (list face)))
          (fstruct (htmlize-merge-faces
                    (mapcar (lambda (face)



reply via email to

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