Commit d5cf7b55 authored by kenton@google.com's avatar kenton@google.com

Some sort of emacs protobuf mode fix.

parent b2210088
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment