bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#648: htmlize.el doesn't work fine


From: clinif
Subject: bug#648: htmlize.el doesn't work fine
Date: Tue, 05 Aug 2008 18:26:17 +0800
User-agent: Thunderbird 2.0.0.16 (X11/20080725)

Lennart Borgman (gmail) 写道:
Juanma Barranquero wrote:
On Tue, Aug 5, 2008 at 08:06, clinif <address@hidden> wrote:

Debugger entered--Lisp error: (error "Invalid face")
  internal-get-lisp-face-attribute(nil :height nil)
  face-attribute(nil :height)

In Emacs 23.X,

  (face-attribute 'default :inherit) => nil

while in Emacs 22.X,

  (face-attribute 'default :inherit) => unspecified

I'm not sure whether that's a bug, but it is an incompatible change.

For the time being, you can patch your htmlize.el, changing one line
of htmlize-face-size, from

      for f = face then (face-attribute f :inherit)

to

      for f = face then (or (face-attribute f :inherit) 'unspecified)


Please also notice that htmlfontify.el was meant to be included in Emacs. Vivek, what has happened with this?
Thank you very much, it works now!







reply via email to

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