Re: Trying to disable the fontification of strings in fundamental-mode
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Trying to disable the fontification of strings in fundamental-mode         

Group: gnu.emacs.help · Group Profile
Author: Davin Pearson
Date: Sep 12, 2008 19:57

I managed to get the following code to work:
> (defadvice fundamental-mode (after my-remove-strings
> activate)
>   (if (eq major-mode 'fundamental-
> mode)
>       (set (make-variable-buffer-local 'font-lock-string-face) nil)))

I don't see the problem about using advice. I use advice all of the
time in Emacs.
no comments
diggit! del.icio.us! reddit!