unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Customizing font-lock-mark-block-function in minor-mode
@ 2009-04-28 11:21 Tobias C. Rittweiler
  0 siblings, 0 replies; only message in thread
From: Tobias C. Rittweiler @ 2009-04-28 11:21 UTC (permalink / raw)
  To: help-gnu-emacs


Hi all,

What is the best way for a minor mode to customize the value of
`font-lock-mark-block-function' of its major-mode?

Adding a hook to the major-mode-hook which modifies this variable is
later overwritten by the binding in `font-lock-defaults'.

Adding a hook which modifies `font-lock-defaults' appropriately is not
very easy without making explicit assumption of the major-mode's
particular format of `font-lock-defaults'. These assumption may break
under my feet in the future.

What am I missing?,

  -T.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-28 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 11:21 Customizing font-lock-mark-block-function in minor-mode Tobias C. Rittweiler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).