unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Functions that need X
@ 2011-01-01 19:35 Cecil Westerhof
  2011-01-01 21:32 ` Barry Margolin
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Cecil Westerhof @ 2011-01-01 19:35 UTC (permalink / raw)
  To: help-gnu-emacs

I have a lot of functionality written for my Emacs. I was asked to
maintain a server for a friend. I installed Emacs there and put my
Emacs functionality there also. But some things are depending on X.
Because of this I made those depended working with X. In the start of
my .emacs I have:
    (defconst +using-X+ (getenv "DISPLAY"))

And where I use X-functionality (not much at the moment) I have:
    (unless (not +using-X+)
      (set-scroll-bar-mode 'right)
      (tool-bar-mode -1))

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-01-11  0:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-01 19:35 Functions that need X Cecil Westerhof
2011-01-01 21:32 ` Barry Margolin
2011-01-01 21:58 ` Tim X
2011-01-01 23:29   ` Barry Margolin
2011-01-02 22:46     ` Tim X
2011-01-03 14:34       ` Cecil Westerhof
2011-01-03 15:55         ` Drew Adams
2011-01-03  4:52     ` Stefan Monnier
2011-01-03  5:45       ` Tim X
2011-01-03 14:46   ` Cecil Westerhof
2011-01-11  0:24 ` Kevin Rodgers

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).