From xemacs-m  Mon Jun 23 18:06:08 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id SAA09921
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 18:06:07 -0500 (CDT)
Received: from Corp.Sun.COM ([129.145.35.78]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id QAA06779 for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 16:28:36 -0700
Received: from legba.Corp.Sun.COM by Corp.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA12649; Mon, 23 Jun 1997 16:05:36 -0700
Received: by legba.Corp.Sun.COM (SMI-8.6/SMI-SVR4)
	id QAA06458; Mon, 23 Jun 1997 16:05:36 -0700
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: x-menubar oops fix [PATCH]
References: <bciwwnl0xf2.fsf@corp.Sun.COM> <kiglo41eyg5.fsf@jagor.srce.hr> <bciafkh3p74.fsf@corp.Sun.COM> <kign2ogncvb.fsf@jagor.srce.hr>
X-Attribution: GDF
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Gary.Foster@Corp.Sun.COM (Gary D. Foster)
Date: 23 Jun 1997 16:05:36 -0700
In-Reply-To: Hrvoje Niksic's message of "24 Jun 1997 01:00:40 +0200"
Message-ID: <bcizpsg3oov.fsf@corp.Sun.COM>
Lines: 25
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta8) - "Copenhagen"

>>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:

    Hrv> Because they refer to `bookmark-all-names' which is not
    Hrv> defined before you load the bookmark package.  I am getting
    Hrv> errors because of it.

    Hrv> You should either add a `require' somewhere, or autoload a
    Hrv> function or two.

Steve already added an autoload cookie for `bookmark-all-names' in
bookmark.el.  Here it is, for the benefit of everyone else.

-- Gary F.

--- lisp/packages/bookmark.el.orig      Sat Jun 14 13:31:21 1997
+++ lisp/packages/bookmark.el   Mon Jun 23 10:34:06 1997
@@ -338,7 +338,7 @@
   "Return name of FULL-RECORD \(an alist element instead of a string\)."
   (car full-record))
 
-
+;;;###autoload
 (defun bookmark-all-names ()
   "Return a list of all current bookmark names."
   (bookmark-maybe-load-default-file)

