diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-09-15 17:12:06 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-09-15 17:12:06 +0000 |
commit | f4c6e4b37e131b771a8a8eac0534ce8ade504dd7 (patch) | |
tree | 5e93e2f13376ca0c8c580a632b02ff3ee69642bc | |
parent | 721995d00aedd42856653f1135c41f9736501590 (diff) | |
download | protobuf-f4c6e4b37e131b771a8a8eac0534ce8ade504dd7.tar.gz protobuf-f4c6e4b37e131b771a8a8eac0534ce8ade504dd7.tar.bz2 protobuf-f4c6e4b37e131b771a8a8eac0534ce8ade504dd7.zip |
Fix protobuf-mode on XEmacs.
-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 3337c1f8..9ac0c727 100644 --- a/editors/protobuf-mode.el +++ b/editors/protobuf-mode.el @@ -206,7 +206,8 @@ Key bindings: abbrev-mode t) (use-local-map protobuf-mode-map) (c-initialize-cc-mode t) - (c-make-emacs-variables-local) + (if (fboundp 'c-make-emacs-variables-local) + (c-make-emacs-variables-local)) (c-init-language-vars protobuf-mode) (c-common-init 'protobuf-mode) (easy-menu-add protobuf-menu) |