all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Subject: Show/Hide changes in menu-bar.el
Date: Fri, 10 May 2002 12:48:46 +0300	[thread overview]
Message-ID: <5567-Fri10May2002124845+0300-eliz@is.elta.co.il> (raw)

Recent changes in menu-bar.el used window-system to decide whether to
show certain display options in the menu.  Please avoid using
window-system as much as possible (not only fo the menu bar).  It is
the wrong tool to make such decisions.  In this particular case, it
actually did the wrong thing, since the MS-DOS port defines a non-nil
value for window-system, but doesn't support a tool bar and the scroll
bars.

It is best to condition on some symbol or function being bound: this
way, if/when the relevant feature gets implemented on the platforms
where it is currently unavailable, the menu bar will automatically
DTRT.  If you cannot find a symbol or a function, please use
display-*-p functions, as suggested by the ELisp manual.

Thanks.

                 reply	other threads:[~2002-05-10  9:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5567-Fri10May2002124845+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.