Trying to disable the fontification of strings in fundamental
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 4 articles for 0.012 sec
Re: Trying to disable the fontification of strings in fundamental-mode     

Group: gnu.emacs.help · Group Profile · Search for Trying to disable the fontification of strings in fundamental in gnu.emacs.help
Author: Davin Pearson
Date: Sep 12, 2008 19:48

... suppressing of the fontification of strings to just fundamental mode? First ... globally, so naturally it is disabled everywhere.  You need to make ... variable buffer-local. (defun my-fundamental-mode-hook ()   (set (make-variable...is no Emacs hook called fundamental-mode-hook Following your advice...variables I also tried the following: (defadvice fundamental-mode (before my...
Show full article (1.20Kb) · Show article thread
Re: Trying to disable the fontification of strings in fundamental-mode     

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 ...
Show full article (0.58Kb) · Show article thread
Trying to disable the fontification of strings in fundamental-mode     

Group: gnu.emacs.help · Group Profile · Search for Trying to disable the fontification of strings in fundamental in gnu.emacs.help
Author: Davin Pearson
Date: Sep 11, 2008 21:30

I am trying to turn off the fonfication of strings in fundamental mode. The following code appears to ...it off in *all* modes, not just fundamental mode. What do I need to do...restrict the suppressing of the fontification of strings to just fundamental mode? (defadvice fundamental-mode...mode) (setq font-lock-string-face nil))) (defadvice fundamental-mode (after my-remove-...
Show full article (0.57Kb)
Re: Trying to disable the fontification of strings in fundamental-mode     

Group: gnu.emacs.help · Group Profile · Search for Trying to disable the fontification of strings in fundamental in gnu.emacs.help
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.
Show full article (0.32Kb) · Show article thread