lang/cc: minor refactor
This commit is contained in:
parent
895b9d5484
commit
b21e4c8bba
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ compilation database is present in the project.")
|
|||
(equal (file-name-extension buffer-file-name) "h")
|
||||
(re-search-forward "@\\<interface\\>" magic-mode-regexp-match-limit t)))
|
||||
|
||||
(push (cons #'+cc-c++-header-file-p 'c++-mode) magic-mode-alist)
|
||||
(push (cons #'+cc-objc-header-file-p 'objc-mode) magic-mode-alist)
|
||||
(push '(+cc-c++-header-file-p . c++-mode) magic-mode-alist)
|
||||
(push '(+cc-objc-header-file-p . objc-mode) magic-mode-alist)
|
||||
|
||||
:init
|
||||
(setq-default c-basic-offset tab-width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue