# HG changeset patch # User Oleksandr Gavenko # Date 1416437528 -7200 # Node ID c7faddfb54ae76e98dfa9298d41ae988ceff9d53 # Parent 1f2b829bd3e6f428a8ce3146f53e0b16e7cfd9ec# Parent 489a962e1bd38eccce86c0620dbc0a4f8d55f04a merged diff -r 489a962e1bd3 -r c7faddfb54ae .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")