unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Need LISP Help: popping up speedbar only under X
@ 2003-11-03 19:11 Dan Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Anderson @ 2003-11-03 19:11 UTC (permalink / raw)


If I evaluate:

(speedbar t)

The speedbar pops up.  But I want it only to pop up when I'm running it
in KDE, and thus under X.  So I tried:

(if (eq window-system "x")        ;; open the speedbar when emacs loads
    (speedbar t))                 ;; if we're under X

And it doesn't work.  According to M-x describe-variable:

A symbol naming the window-system under which Emacs is running
(such as `x'), or nil if emacs is running on an ordinary terminal.

What am i doing wrong?

Thanks in advance,

Dan

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <mailman.3036.1067886779.21628.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-11-03 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-03 19:11 Need LISP Help: popping up speedbar only under X Dan Anderson
     [not found] <mailman.3036.1067886779.21628.help-gnu-emacs@gnu.org>
2003-11-03 20:09 ` Jesper Harder

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 read-only IMAP folder(s) and NNTP newsgroup(s).