bbdb-com.el has the following:

;; GNU vs XEmacs again. GAH.
(or (fboundp 'char-int)
    (defmacro char-int( c ) (list 'string-to-char c))) ;; ick.

htmlize.el has the following:

(if (fboundp 'char-int)
    (defalias 'htmlize-char-int 'char-int)
  (defalias 'htmlize-char-int 'identity))

Therefore, if BBDB is loaded, htmlize will use char-int.
htmlize calls it as follows:

(if (> (htmlize-char-int char) 255) ...

Now, as I am using Emacs, char will actually be an integer!
Therefore, on Emacs with BBDB loaded first and htmlize loaded second,
this will result in something like this:

Signaling: (wrong-type-argument stringp 34)
  string-to-char(34)
  (htmlize-char-int char)

Therefore I propose the following change:

(or (fboundp 'char-int)
    (defmacro char-int (c)
      `(if (integerp ,c) ,c (string-to-char ,c))))

This is my first defmacro.  :)

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
http://www.emacswiki.org/

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to