Switch from c-initialization-hook to c-mode-common-hook because otherwise
fill-paragraph not worked in text-mode.
--- a/.emacs-my Mon Mar 30 11:02:13 2009 +0300
+++ b/.emacs-my Sat Apr 18 11:42:35 2009 +0300
@@ -840,8 +840,8 @@
"My C Programming Style")
;; (objc-mode . "my-mode") (c++-mode . "cc-mode")
-(add-hook 'c-initialization-hook (lambda ()
- (c-add-style "my" my-c-style t)))
+(add-hook 'c-mode-common-hook
+ (lambda () (c-add-style "my" my-c-style t)))
(setq c-default-style '((java-mode . "my") (c-mode . "my") (csharp-mode . "my") (other . "my")))
;; Customizations for all modes in CC Mode.