(setq c-hanging-comment-ender-p nil)
(setq c-backslash-column 72)
(setq c-label-minimum-indentation 0)
- (setq comment-start "/* ")
- (setq comment-end " */")
(setq mdw-fill-prefix
`((,(concat "\\([ \t]*/?\\)"
"\\([\*/][ \t]*\\)"
(make-local-variable 'font-lock-keywords)
(let ((c-keywords
(make-regexp '(
- ;; "and" ;C++
- ;; "and_eq" ;C++
+ "and" ;C++
+ "and_eq" ;C++
"asm" ;K&R, GCC
"auto" ;K&R, C89
- ;; "bitand" ;C++
- ;; "bitor" ;C++
+ "bitand" ;C++
+ "bitor" ;C++
"bool" ;C++, C9X macro
"break" ;K&R, C89
"case" ;K&R, C89
"char" ;K&R, C89
"class" ;C++
"complex" ;C9X macro, C++ template type
- ;; "compl" ;C++
+ "compl" ;C++
"const" ;C89
"const_cast" ;C++
"continue" ;K&R, C89
;; "entry" ;K&R -- never used
"enum" ;C89
"explicit" ;C++
- ;; "export" ;C++
+ "export" ;C++
"extern" ;K&R, C89
"false" ;C++, C9X macro
"float" ;K&R, C89
"for" ;K&R, C89
- "fortran" ;K&R
+ ;; "fortran" ;K&R
"friend" ;C++
"goto" ;K&R, C89
"if" ;K&R, C89
"namespace" ;C++
"new" ;C++
"operator" ;C++
- ;; "or" ;C++
- ;; "or_eq" ;C++
+ "or" ;C++
+ "or_eq" ;C++
"private" ;C++
"protected" ;C++
"public" ;C++
"volatile" ;C89
"wchar_t" ;C++, C89 library type
"while" ;K&R, C89
- ;; "xor" ;C++
- ;; "xor_eq" ;C++
+ "xor" ;C++
+ "xor_eq" ;C++
"_Bool" ;C9X
"_Complex" ;C9X
"_Imaginary" ;C9X