diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-12-18 01:55:04 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-12-18 01:55:04 +0000 |
commit | d5cf7b55a6a1f959d1646785f63ca2b62da78079 (patch) | |
tree | 6d9741a824e698067c46dea9d90494f4d7b355f4 | |
parent | b221008884cec52232b2c292f743cad0ed4d3dee (diff) | |
download | protobuf-d5cf7b55a6a1f959d1646785f63ca2b62da78079.tar.gz protobuf-d5cf7b55a6a1f959d1646785f63ca2b62da78079.tar.bz2 protobuf-d5cf7b55a6a1f959d1646785f63ca2b62da78079.zip |
Some sort of emacs protobuf mode fix.
-rw-r--r-- | editors/protobuf-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/protobuf-mode.el b/editors/protobuf-mode.el index 9ac0c727..09aecc93 100644 --- a/editors/protobuf-mode.el +++ b/editors/protobuf-mode.el @@ -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 |