On Mon, 09 Nov 2015 17:07:26 +0000, Henry S. Thompson wrote:
> (defun guided-tour-find-menubar-help-menu (&optional
menubar)
> (when (boundp 'default-menubar)
> ((assoc "%_Help" (or menubar default-menubar))))
>
> but all I get is a (wrong-type-argument consp nil).
One too many pairs of parens, I'm guessing. You want
(defun guided-tour-find-menubar-help-menu (&optional menubar)
(when (boundp 'default-menubar)
(assoc "%_Help" (or menubar default-menubar))))
... this is what I have - I copied from memory, sorry. I am not even
clear what exactly triggers the error
Debugger entered--Lisp error: (wrong-type-argument consp nil)
signal(wrong-type-argument (consp nil))
signal-error(wrong-type-argument (consp nil))
normal-top-level()
-- is there any way to find out in the elisp debugger? Since edebug
needs "instrumenting", I guess it won't work for debugging startup, and
I have not been able to trigger the issue by loading guided-tour.el
into a vanill axemacs.
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta