unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Trying to disable the fontification of strings in fundamental-mode
@ 2008-09-12  4:30 Davin Pearson
  2008-09-12  8:57 ` Nikolaj Schumacher
       [not found] ` <mailman.19100.1221209839.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Davin Pearson @ 2008-09-12  4:30 UTC (permalink / raw)
  To: help-gnu-emacs

I am trying to turn off the fonfication of strings in
fundamental
mode.  The following code appears to turn it off in *all* modes,
not
just fundamental mode.  What do I need to do to restrict
the
suppressing of the fontification of strings to just fundamental
mode?

(defadvice fundamental-mode (before my-remove-strings
activate)
  (if (eq major-mode 'fundamental-
mode)
      (setq font-lock-string-face
nil)))

(defadvice fundamental-mode (after my-remove-strings
activate)
  (if (eq major-mode 'fundamental-
mode)
      (setq font-lock-string-face
nil)))


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-14 22:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12  4:30 Trying to disable the fontification of strings in fundamental-mode Davin Pearson
2008-09-12  8:57 ` Nikolaj Schumacher
     [not found] ` <mailman.19100.1221209839.18990.help-gnu-emacs@gnu.org>
2008-09-13  2:48   ` Davin Pearson
2008-09-13  2:57     ` Davin Pearson
2008-09-14 22:54       ` Nikolaj Schumacher

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).