Re: [PATCH] 2.6.16.18 - spelling fix

From: Neil Brown
Date: Mon May 29 2006 - 06:37:26 EST


On Monday May 29, neilb@xxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/