all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Show/Hide changes in menu-bar.el
@ 2002-05-10  9:48 Eli Zaretskii
  0 siblings, 0 replies; only message in thread
From: Eli Zaretskii @ 2002-05-10  9:48 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-10  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  9:48 Show/Hide changes in menu-bar.el Eli Zaretskii

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.