[Top][All Lists]

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

Re: hl-line-face should be a face, not an option

From: Stephen Berman
Subject: Re: hl-line-face should be a face, not an option
Date: Mon, 07 May 2007 14:28:20 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

On Mon, 07 May 2007 21:11:41 +0900 Miles Bader <address@hidden> wrote:

> Stephen Berman <address@hidden> writes:
>> Why not simply have hl-line-face defalias'd to hl-line?  Wouldn't that
>> suffice for backward compatibility (assuming that was the reason for
>> retaining hl-line-face)?
> `hl-line' is not a variable, so it makes no sense to use defalias.

Aha, ok.

> If backward compatibility is necessary, then I'm not sure there's any
> alternative to what was done.

Could hl-line-face be made a defvar instead of a defcustom?  It just
seems strange to invite users to customize the face hl-line and invite
them to effectively override that customization by subsequently
customizing hl-line-face.

Steve Berman

reply via email to

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