[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24543: 25.1; describe-symbol doesn't show face with same name as a v
From: |
Alex |
Subject: |
bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable |
Date: |
Tue, 25 Jul 2017 22:28:05 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Alex <agrambot@gmail.com> writes:
> Alex <agrambot@gmail.com> writes:
>
>> Recipe:
>>
>> emacs -Q
>> C-h o font-lock-comment-face RET
>>
>> Only the variable of this name is shown, not the face (which can be
>> viewed with describe-face, of course).
>>
>> It appears that when the face only shares a name with a function, then
>> both the function and face are shown. Only a variable shadows the face
>> in describe-symbol.
>
> This is because describe-symbol isn't returning (buffer-string) like
> describe-{function, variable} are.
>
> I've attached a patch fixing this problem.
>
> Additionally, I have attached another patch that re-orders the placement
> of variables/faces in describe-symbol, to put more emphasis on the
> variable entry rather than the face.
Ping. Eli?
- bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable,
Alex <=