Group: gnu.emacs.help · Group Profile · Search for Trying to disable the fontification of strings in fundamental in gnu.emacs.help
Author: Nikolaj Schumacher
Date: Sep 12, 2008 01:57
... restrict the suppressing of the fontification of strings to just fundamental mode? First of all,...the variable globally, so naturally it is disabled everywhere. You need to make the variable buffer-local. (defun my-fundamental-mode-hook () (set (make-variable-buffer-local 'font-lock-string-face) nil)) (add-hook 'fundamental-mode-hook 'my-fundamental-mode-hook) regards, Nikolaj ...
|