branch: elpa/htmlize
commit 06772e65025fe15bfd3449bdde1522f71b4d96a1
Author: Hrvoje Niksic <[email protected]>
Commit: Hrvoje Niksic <[email protected]>
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)