diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2013-12-28 03:17:19 (GMT) |
|---|---|---|
| committer | Ravikiran Rajagopal <aine.marina@gmail.com> | 2013-12-28 03:17:19 (GMT) |
| commit | f563529a9ed02d4f407c15fa3648adf56228843b (patch) | |
| tree | 0873e9443e6ccbf5786d163bcee80084708b082f | |
| parent | 2e2f013cbbe1fc78c936d245ca39998d1abb7a12 (diff) | |
| download | dotemacs-f563529a9ed02d4f407c15fa3648adf56228843b.zip dotemacs-f563529a9ed02d4f407c15fa3648adf56228843b.tar.gz dotemacs-f563529a9ed02d4f407c15fa3648adf56228843b.tar.bz2 | |
I don't use underscores as delimiters
| -rw-r--r-- | ravi-init-cpp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ravi-init-cpp.el b/ravi-init-cpp.el index 8e9e9ff..a1569b8 100644 --- a/ravi-init-cpp.el +++ b/ravi-init-cpp.el @@ -166,6 +166,7 @@ (c-set-style "stroustrup") (setq c-basic-offset 2) (setq c-recognize-knr-p nil) + (modify-syntax-entry ?_ "w" c-mode-syntax-table) (add-to-list 'c-cleanup-list 'empty-defun-braces) (add-to-list 'c-cleanup-list 'defun-close-semi) (add-to-list 'c-cleanup-list 'list-close-comma) @@ -191,6 +192,7 @@ c-offsets-alist)) ) + (modify-syntax-entry ?_ "w" c++-mode-syntax-table) (setq c-macro-cppflags "-x c++") (setq c-macro-prompt-flag t) ) |
