branch: elpa/dart-mode
commit 35a794c28aa231e7c2698c3d7df33b4b322ca129
Author: Philipp <[email protected]>
Commit: Natalie Weizenbaum <[email protected]>
Add workaround for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845 (#40)
I’ve unfortunately removed a similar workaround in
https://github.com/nex3/dart-mode/commit/bd0820825f78e805d498dcb4ecdec0783be57f94.
This is the same workaround as suggested for
https://github.com/google/protobuf/issues/295 by @opoplawski.
---
dart-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dart-mode.el b/dart-mode.el
index 85c0b87..6fa8391 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -80,6 +80,10 @@
(require 'cc-mode)
(eval-when-compile
+ (and (= emacs-major-version 24)
+ (>= emacs-minor-version 4)
+ (null emacs-repository-version)
+ (require 'cl))
(require 'cc-langs)
(require 'cc-fonts))