.emacs-my
changeset 645 f5a8fa2c4534
parent 644 a44f5abb820f
child 646 6c2682a5d81e
equal deleted inserted replaced
644:a44f5abb820f 645:f5a8fa2c4534
  1382     )
  1382     )
  1383    ))
  1383    ))
  1384 
  1384 
  1385 ;;; ----------------------------------------------------------------
  1385 ;;; ----------------------------------------------------------------
  1386 (message "C, c-mode, C++, c++-mode")
  1386 (message "C, c-mode, C++, c++-mode")
       
  1387 
       
  1388 ;; Minor mode that highlights suspicious C and C++ constructions.
       
  1389 (cwarn-mode 1)
  1387 
  1390 
  1388 (setq c-echo-syntactic-information-p t)
  1391 (setq c-echo-syntactic-information-p t)
  1389 (add-hook 'c-mode-common-hook
  1392 (add-hook 'c-mode-common-hook
  1390  (lambda ()
  1393  (lambda ()
  1391    ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon.
  1394    ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon.