aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/protobuf-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'editors/protobuf-mode.el')
-rw-r--r--editors/protobuf-mode.el3
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)