[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: screen & emacs

From: Dan Nicolaescu
Subject: Re: screen & emacs
Date: Fri, 04 Feb 2011 12:01:50 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Sam Steingold <address@hidden> writes:

>> 3. When Emacs is started as a daemon, it loads .emacs with window-system
> set to nil. This means that when the client opens an X window (emacs
> frame), it has the settings in .emacs which are "appropriate" for a
> terminal, not a GUI. I am not sure how to handle this properly, except
> for remove all (when window-system ...) from .emacs.

C-h v window-system RET

Use of this variable as a boolean is deprecated.  Instead,
use `display-graphic-p' or any of the other `display-*-p'
predicates which report frame's specific UI-related capabilities.

So yes, it's time to get rid of (when window-system...)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]