On Monday May 29, [email protected] wrote:
>
> So I guess I need to tell font-lock that all the different text types
> should be displayed in the same font.
>
> Why is it never easy?
Well, it's not that hard.
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(global-font-lock-mode t nil (font-lock))
'(show-trailing-whitespace t))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(font-lock-builtin-face ((((class color) (background light)) nil)))
'(font-lock-comment-face ((((class color) (background light)) nil)))
'(font-lock-constant-face ((((class color) (background light)) nil)))
'(font-lock-function-name-face ((((class color) (background light)) nil)))
'(font-lock-keyword-face ((((class color) (background light)) nil)))
'(font-lock-string-face ((((class color) (background light)) nil)))
'(font-lock-type-face ((((class color) (background light)) nil)))
'(font-lock-variable-name-face ((((class color) (background light)) nil))))
The bold-red for trailing white space is possibly a little too much
... but maybe that is a good thing?
Maybe I'll make feewer typoes now.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]