Subject: Re: bug#16403: 24.3.50; Rectangular selection visually disturbing

From: Eli Zaretskii <[email-masked]>
Date: Fri, 10 Jan 2014 22:16:50 +0200

> From: Bastien <[email-masked]>
> Date: Fri, 10 Jan 2014 20:58:33 +0100
> Cc: Ivan Kalyaev <[email-masked]>, [email-masked]
> 
> -              (when (= leftcol rightcol)
> +              (when (and (= leftcol rightcol) (window-system))

Please don't use window-system as a predicate.  Use display-graphic-p
instead (in this case; there are other display-*-p predicates that
target other situations).