From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Cannot open load file: tool-bar
Date: Tue, 05 Nov 2002 19:03:28 +0100 [thread overview]
Message-ID: <m3smyfj3m7.fsf@defun.localdomain> (raw)
In-Reply-To: <841y60exlw.fsf@crybaby.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de's message of "Tue, 05 Nov 2002 18:26:51 +0100")
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> /----
> | ;; 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?
Couldn't we use (featurep 'tool-bar)? This should only return t in
Emacs 21 versions with tool-bar support.
next prev parent reply other threads:[~2002-11-05 18:03 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 [this message]
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
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=m3smyfj3m7.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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).