help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Invalid face reference: quote


From: Emanuel Berg
Subject: Re: Invalid face reference: quote
Date: Tue, 21 Jun 2016 00:14:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Davin Pearson <address@hidden> writes:

>> Bingo. You see the face turns up as one of
>> the properties of that piece of text.
>
> Thank you for your help with debugging my
> code. I tried executing (thing-at-point
> 'word) many times until I found the bug.

Cool, no problem :)

> (put-text-property (point-at-bol)
> (point-at-eol) 'face' 'default)
>
> which should read as this:
>
> (put-text-property (point-at-bol)
> (point-at-eol) 'face 'default)

Wow, that bug was sure difficult to spot! I had
to stare at the code for some 30 seconds before
I saw it!


-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 55 Blogomatic articles -                   


reply via email to

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