aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorkenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-07-08 20:37:43 +0000
committerkenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2009-07-08 20:37:43 +0000
commit31afcd730b279a6aa810cee447757725a7031353 (patch)
treebacb352bed5c195fa24ca2b71831a9f0f5c0e2e6 /editors
parentceb561d65bfe234a301979a7e3f7ddc244d349b3 (diff)
downloadprotobuf-31afcd730b279a6aa810cee447757725a7031353.tar.gz
protobuf-31afcd730b279a6aa810cee447757725a7031353.tar.bz2
protobuf-31afcd730b279a6aa810cee447757725a7031353.zip
Fix problems with emacs protobuf mode, I guess. See <http://www.opensubscriber.com/message/emacs-devel@gnu.org/7155093.html>. Patch from domq@google.com.
Diffstat (limited to 'editors')
-rw-r--r--editors/protobuf-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/protobuf-mode.el b/editors/protobuf-mode.el
index c4cdd3cd..3337c1f8 100644
--- a/editors/protobuf-mode.el
+++ b/editors/protobuf-mode.el
@@ -206,6 +206,7 @@ Key bindings:
abbrev-mode t)
(use-local-map protobuf-mode-map)
(c-initialize-cc-mode t)
+ (c-make-emacs-variables-local)
(c-init-language-vars protobuf-mode)
(c-common-init 'protobuf-mode)
(easy-menu-add protobuf-menu)