From f4c6e4b37e131b771a8a8eac0534ce8ade504dd7 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Tue, 15 Sep 2009 17:12:06 +0000 Subject: Fix protobuf-mode on XEmacs. --- editors/protobuf-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3