all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.