Minor mode that highlights suspicious C and C++ constructions.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Jun 2011 11:33:34 +0300
changeset 645 f5a8fa2c4534
parent 644 a44f5abb820f
child 646 6c2682a5d81e
Minor mode that highlights suspicious C and C++ constructions.
.emacs-my
--- a/.emacs-my	Sat Jun 18 11:28:54 2011 +0300
+++ b/.emacs-my	Sat Jun 18 11:33:34 2011 +0300
@@ -1385,6 +1385,9 @@
 ;;; ----------------------------------------------------------------
 (message "C, c-mode, C++, c++-mode")
 
+;; Minor mode that highlights suspicious C and C++ constructions.
+(cwarn-mode 1)
+
 (setq c-echo-syntactic-information-p t)
 (add-hook 'c-mode-common-hook
  (lambda ()