emacs-devel
[Top][All Lists]
Advanced

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

[REGRESSION] Re: trunk r116301: Some hi-lock doc


From: Jambunathan K
Subject: [REGRESSION] Re: trunk r116301: Some hi-lock doc
Date: Wed, 12 Mar 2014 22:34:54 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Just noticed a regression.

C-x w r is intended to un-highlight stuff at point. BUT there seems to
be a recent regression.  

In `hi-lock--regexps-at-point',

      (unless (memq face-before faces) (setq face-before nil))
      (unless (memq face-after faces) (setq face-after nil))

the above lines imply that face-before and face after are atoms (so to
speak).

Lately, they turn out to be lists.

    M-: (get-text-property (point) 'face) 
    => (hi-yellow font-lock-variable-name-face)


Jambunathan K <address@hidden> writes:

> Glenn Morris <address@hidden> writes:
>
>> ------------------------------------------------------------
>> revno: 116301
>> revision-id: address@hidden
>> parent: address@hidden
>> committer: Glenn Morris <address@hidden>
>> branch nick: trunk
>> timestamp: Thu 2014-02-06 23:18:02 -0800
>> message:
>>   Some hi-lock doc
>
>
> Some updates to
>
>     C-h K M-s h u
>
> (That will land you in the right node.)
>
> 1. Un-Highlight stuff *at point*.  A list is offered only if there is
>    nothing already highlighted beneath the point.
>
> 2. With a C-u, remove *all* highlights.
>
> A NEWS entry may also be added...



reply via email to

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