[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Functions that need X
From: |
Cecil Westerhof |
Subject: |
Functions that need X |
Date: |
Sat, 01 Jan 2011 20:35:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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
- Functions that need X,
Cecil Westerhof <=
Re: Functions that need X, Cecil Westerhof, 2011/01/03
Re: Functions that need X, Barry Margolin, 2011/01/01
Re: Functions that need X, Kevin Rodgers, 2011/01/10