Re: XEmacs nox11 startup issue

Hauke Fath <[email protected]> Mon, 9 Nov 2015 17:41:11 +0100
Newsgroups gmane.emacs.xemacs.beta
Organization TU Darmstadt
Message-ID <[email protected]>
On Mon, 9 Nov 2015 10:29:52 -0500, Vin Shelton wrote:
> OK, so I guess the problem is with autoloads, probably in
> guided-tour.el, according to your previous sleuthing.

Hm. It appears to boil down to this little gem from guided-tour.el:

;; #### this probably should move to help.el or menubar-items.el
(defun guided-tour-find-menubar-help-menu (&optional menubar)
  "Return the Help submenu for MENUBAR if present, else nil."
  (assoc "%_Help" (or menubar default-menubar)))

which does not like default-menubar to be undefined (or evaluating to 
nil, if previously defvar'ed). 

At the top of the file, I

(setq debug-on-error t)

and then tried something along the lines of 

(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).

Any ideas?

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