21.4.18 easymenu.el change breaks html-helper-mode?
chuck.hines at baesystems.com
Tue Dec 20 17:23:48 EST 2005
I was using the new(ish) 21.4.18 today, and apparently I haven't edited
any HTML files since I switched to it because it appears to me that this:
change to easymenu.el that was included in it breaks the old ("beta"
version 184.108.40.206) html-helper-mode that I use available here:
It gives the following stack trace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
easy-menu-remove(("HTML" ["Insert Paragraph"
tempo-template-html-paragraph t] ["Insert Hyperlink"
tempo-template-html-hyperlink t] ["Insert Big Header"
tempo-template-html-header-2 t] ["Insert Unordered List"
tempo-template-html-unordered-list t] ["Insert List Item"
html-helper-smart-insert-item t] ["Insert Inlined Image"
tempo-template-html-image-with-alternate-text t] ["Turn on Expert Menu"
html-helper-toggle-expert-menu t] ["Load This Buffer in Browser"
(let ((menu ...)) (easy-menu-remove menu) (easy-menu-define
html-helper-mode-menu-symbol html-helper-mode-map "HTML menus" menu)
(easy-menu-add menu html-helper-mode-map))
If I revert to the 21.4.17 version of easymenu.el it loads and runs fine
Anyone have an idea as to why it might be croaking, whether it's a bug
in html-helper-mode (where it needs to catch and ignore the error
perhaps) or something in the easymenu code itself that has been revealed
by the above change?
Charles K. Hines <chuck.hines at baesystems.com>
"When things don't sound evil enough on their own I like to toss in
a BU-WHA-HA-HA-HA". - Catbert (from Dilbert)
More information about the XEmacs-Beta