[Top][All Lists]

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

Re: [PATCH] window-system-version function

From: Stefan Monnier
Subject: Re: [PATCH] window-system-version function
Date: Sun, 20 Nov 2011 14:41:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> This patch replaces global variable 'window-system-version' with the function
> which returns the window system version for the specified frame.  I believe
> this is more reasonable, at least for the configuration which allows both
> TTY and X frames.

Sounds OK, tho it will have to wait for 24.2.

> P.S. Are there the reasons to have both 'window-system' variable and function
> (except the possible backward compatibility with an old Lisp code)?

Backward compatibility: the window-system variable is used in a lot of
Elisp packages, and many more ~/.emacs files, so we're probably stuck
with it for the foreseeable future.


reply via email to

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