emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: defvaralias highlighted as a function declaration


From: Tetsuo Tsukamoto
Subject: Re: defvaralias highlighted as a function declaration
Date: Sun, 15 Jan 2006 11:49:45 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>>>>>   [Sat, 14 Jan 2006 00:49:20 -0500]
>>>>>   "Richard M. Stallman" <address@hidden> writes:
>     According to lisp-font-lock-keywords-1, `defvaralias' is treated as
>     a function declaration.

>     IMHO users may expect it treated as a variable declaration.

> They are highlighted the same way, so it makes no practical
> difference, but it will be cleaner to fix this.  Thanks.

`defvaralias' itself is highlighted the same way whether it is
among function declarations or variable declarations, but the
following variable name is not.

It is now highlited with font-lock-function-name-face.  It will be
highlited with font-lock-variable-name-face if `defvaralias' is
placed among variable declarations.


-- 
Tetsuo Tsukamoto




reply via email to

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