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

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

Re: Unwanted highlighting after cross-buffer paste


From: Andreas Politz
Subject: Re: Unwanted highlighting after cross-buffer paste
Date: Thu, 25 Dec 2008 05:13:22 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

kj wrote:
When I do a cross-buffer cut-and-paste from a buffer with syntax
highlighting to one that doesn't have any highlighting I find that
the highlighting from the source buffer is preserved, which I don't
want.

I have not been able to find a way to get rid of this "imported"
highlighting, other than killing the buffer and revisiting the
file, which is pretty annoying.  E.g. "M-x fundamental-mode" won't
do it.

Is there a simpler way of getting rid of this unwanted highlighting
(or of avoiding it in the first place)?


(add-to-list 'yank-excluded-properties 'face)

-ap
TIA!

Kynn


reply via email to

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