Minor fix for htmlfontify.el (Bug#6239).
authorChong Yidong <cyd@stupidchicken.com>
Sun, 27 Jun 2010 18:24:42 +0000 (14:24 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 27 Jun 2010 18:24:42 +0000 (14:24 -0400)
* htmlfontify.el (hfy-face-attr-for-class): Use `append' instead
of `nconc' (Bug#6239).

lisp/ChangeLog
lisp/htmlfontify.el

index 8fcbf15..8338872 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-27  Masatake YAMATO  <yamato@redhat.com>
+
+       * htmlfontify.el (hfy-face-attr-for-class): Use `append' instead
+       of `nconc' (Bug#6239).
+
 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
 
        * bookmark.el (bookmark-bmenu-2-window)
index b363156..f7a5382 100644 (file)
@@ -959,7 +959,7 @@ See also `hfy-display-class' for details of valid values for CLASS."
                new-spec)))))
     (if (or (memq :inherit face-spec) (eq 'default face))
         face-spec
-      (nconc face-spec (list :inherit 'default))) ))
+      (append face-spec (list :inherit 'default)))))
 
 ;; construct an assoc of (css-tag-name . css-tag-value) pairs
 ;; from a face or assoc of face attributes: