merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 20 Nov 2014 00:52:08 +0200
changeset 1175 c7faddfb54ae
parent 1174 1f2b829bd3e6 (diff)
parent 1171 489a962e1bd3 (current diff)
child 1176 4998abbdd5f9
merged
.emacs-my
--- a/.emacs-my	Thu Oct 30 17:13:16 2014 +0200
+++ b/.emacs-my	Thu Nov 20 00:52:08 2014 +0200
@@ -2464,10 +2464,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)
 
@@ -2523,6 +2523,9 @@
         (substatement-open . 0)
         (inextern-lang . 0)
         ))
+    ;; Certain syntactic errors are reported (like wrong indent).
+    (c-report-syntactic-errors . t)
+    ;; Echo syntactic information on TAB in message buffer.
     (c-echo-syntactic-information-p . t))
   "My C Programming Style")