emacs-devel
[Top][All Lists]
Advanced

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

Re: Copying preserves font-lock-face


From: Nick Roberts
Subject: Re: Copying preserves font-lock-face
Date: Mon, 25 Sep 2006 09:07:49 +1200

 > I don't understand where you get a `font-lock-face' (sic) property from
 > but you can add it to `font-lock-extra-managed-props'.

According to the manual:

`font-lock-face'
     The `font-lock-face' property is the same in all respects as the
     `face' property, but its state of activation is controlled by
     `font-lock-mode'.

 > Can you find out how a `font-lock-face' text property gets assigned on
 > your system?

In grep I guess it's the line:

      (2 (list 'face nil 'font-lock-face grep-match-face))

from grep-mode-font-lock-keywords.

It's not only grep though, I have copied parts of the manual (into e-mail say)
and it gets displayed as large text e.g info-title-1.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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