Minor mode that highlights suspicious C and C++ constructions.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 14 Nov 2014 01:32:49 +0200
changeset 1172 e13ab3bb9331
parent 1167 0e8b45e9b09f
child 1173 bf65579bd653
Minor mode that highlights suspicious C and C++ constructions.
.emacs-my
--- a/.emacs-my	Thu Oct 30 02:38:44 2014 +0200
+++ b/.emacs-my	Fri Nov 14 01:32:49 2014 +0200
@@ -2462,10 +2462,10 @@
     ))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(message "C, c-mode, C++, c++-mode")
+(message "c-mode, cc-mode, c++-mode")
 
 ;; Minor mode that highlights suspicious C and C++ constructions.
-(cwarn-mode 1)
+(global-cwarn-mode 1)
 
 (setq c-echo-syntactic-information-p t)