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.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/protobuf-mode.el b/editors/protobuf-mode.el
index f615a0af..d3bdcded 100644
--- a/editors/protobuf-mode.el
+++ b/editors/protobuf-mode.el
@@ -66,10 +66,13 @@
(require 'cc-mode)
(eval-when-compile
+ (and (= emacs-major-version 24)
+ (>= emacs-minor-version 4)
+ (require 'cl))
(require 'cc-langs)
(require 'cc-fonts))
-;; This mode does not inherit properties from other modes. So, we do not use
+;; This mode does not inherit properties from other modes. So, we do not use
;; the usual `c-add-language' function.
(eval-and-compile
(put 'protobuf-mode 'c-mode-prefix "protobuf-"))