.emacs-my
changeset 423 d1f5db3f7f06
parent 422 021017e52754
child 424 188eba7735eb
equal deleted inserted replaced
422:021017e52754 423:d1f5db3f7f06
  1037     (c-echo-syntactic-information-p . t))
  1037     (c-echo-syntactic-information-p . t))
  1038   "My C Programming Style")
  1038   "My C Programming Style")
  1039 
  1039 
  1040 (add-hook 'c-mode-common-hook
  1040 (add-hook 'c-mode-common-hook
  1041           (lambda () (c-add-style "my" my-c-style t)))
  1041           (lambda () (c-add-style "my" my-c-style t)))
  1042 (setq c-default-style '((java-mode . "my") (c-mode . "my") (csharp-mode . "my") (c++-mode . "my") (objc-mode . "my") (other . "my")))
  1042 (setq c-default-style
       
  1043       '(
       
  1044         (java-mode . "my") (c-mode . "my") (csharp-mode . "my") (c++-mode . "my") (objc-mode . "my")
       
  1045         (awk-mode . "awk")
       
  1046         (other . "my")
       
  1047         ))
  1043 
  1048 
  1044 ;; ----------------------------------------------------------------------
  1049 ;; ----------------------------------------------------------------------
  1045 ;; bat file, batch, loaded from 'generic-x.el'.
  1050 ;; bat file, batch, loaded from 'generic-x.el'.
  1046 
  1051 
  1047 ;; ----------------------------------------------------------------------
  1052 ;; ----------------------------------------------------------------------