Some sort of emacs protobuf mode fix.
This commit is contained in:
parent
b221008884
commit
d5cf7b55a6
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@
|
|||
|
||||
;; This mode does not inherit properties from other modes. So, we do not use
|
||||
;; the usual `c-add-language' function.
|
||||
(put 'protobuf-mode 'c-mode-prefix "protobuf-")
|
||||
(eval-and-compile
|
||||
(put 'protobuf-mode 'c-mode-prefix "protobuf-"))
|
||||
|
||||
;; The following code uses of the `c-lang-defconst' macro define syntactic
|
||||
;; features of protocol buffer language. Refer to the documentation in the
|
||||
|
|
Loading…
Add table
Reference in a new issue