[Top][All Lists]

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

Re: Newbie: Interactive goto-line ?!

From: Kai Grossjohann
Subject: Re: Newbie: Interactive goto-line ?!
Date: Sun, 29 Feb 2004 16:29:45 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux)

address@hidden (Floyd L. Davidson) writes:

> This is indeed a significant problem.  I've tried, with no
> success, to find a way to change font-lock face colors when
> switching between major modes.  That is because what for me is
> appropriate for C or Lisp programming is one set, which just
> makes TeX too hard to look at, or the other way around.

You could create faces fld-lisp-font-lock-comment-face and
fld-c-font-lock-comment-face, and then do

(make-local-variable 'font-lock-comment-face)
(setq font-lock-comment-face 'fld-lisp-font-lock-command-face)

in lisp-mode-hook and the corresponding thing in c-mode-hook.  Does it


reply via email to

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