Group: gnu.emacs.help · Group Profile · Search for Disabilities in gnu.emacs.help
Author: Davin Pearson
Date: Sep 12, 2008 19:48
...to just fundamental mode? First of all, don't use advice for this! Â Use hooks, which are cleaner and safer. Second of all, setq changes 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-...
|