From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Cannot open load file: tool-bar
Date: Wed, 06 Nov 2002 08:27:21 +0100 [thread overview]
Message-ID: <iluu1ivkvja.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87n0onivy2.fsf@bundalo.shootybangbang.com> (John Paul Wallington's message of "Tue, 05 Nov 2002 20:49:09 +0000")
John Paul Wallington <jpw@shootybangbang.com> writes:
> kai.grossjohann@uni-duisburg.de (Kai Großjohann) wrote:
>
>> Hm. Now that you mention it... See this code:
>>
>> /----
>> | ;; Emacs 21 tool bar. Should be no-op otherwise.
>> | (defun gnus-group-make-tool-bar ()
>> | (if (and
>> | (condition-case nil (require 'tool-bar) (error nil))
>> | (fboundp 'tool-bar-add-item-from-menu)
>> \----
>>
>> It comes from gnus-group.el. As you can see, it tries to load the
>> file, ignoring errors, and if that fails it skips the code that only
>> works for Emacs 21.
>>
>> So, what can we do?
>
> The (condition-case nil (require 'tool-bar) (error nil)) is unnecessary
> because `tool-bar-add-item-from-menu' is autoloaded and therefore
> fbound (at least in RC and HEAD, untested in 21.1/2).
XEmacs doesn't have tool-bar nor tool-bar-add-item-from-menu.
next prev parent reply other threads:[~2002-11-06 7:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-03 16:15 Thomas Hungenberg
2002-11-03 17:39 ` Simon Josefsson
2002-11-04 14:30 ` John Paul Wallington
2002-11-04 17:03 ` Thomas Hungenberg
2002-11-04 18:43 ` John Paul Wallington
2002-11-04 20:21 ` Problems with bbdb and supercite (was: Re: Cannot open load file: tool-bar) Thomas Hungenberg
2002-11-04 22:10 ` Problems with bbdb and supercite Jack Twilley
2002-11-05 7:32 ` Kai Großjohann
2002-11-03 18:47 ` Cannot open load file: tool-bar Kai Großjohann
2002-11-04 9:59 ` Thomas Hungenberg
2002-11-04 13:44 ` Kai Großjohann
2002-11-04 16:52 ` Thomas Hungenberg
2002-11-04 21:04 ` Kai Großjohann
2002-11-04 22:11 ` Thomas Hungenberg
2002-11-05 7:35 ` Kai Großjohann
2002-11-05 11:23 ` Thomas Hungenberg
2002-11-05 17:26 ` Kai Großjohann
2002-11-05 18:03 ` Jesper Harder
2002-11-05 19:14 ` Kai Großjohann
2002-11-05 22:50 ` Jesper Harder
2002-11-05 20:49 ` John Paul Wallington
2002-11-06 7:27 ` Simon Josefsson [this message]
2002-11-06 12:39 ` John Paul Wallington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=iluu1ivkvja.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).