|
From: | Davin Pearson |
Subject: | Re: Trying to disable the fontification of strings in fundamental-mode |
Date: | Fri, 12 Sep 2008 19:57:40 -0700 (PDT) |
User-agent: | G2/1.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |