branch: externals/csharp-mode commit 7856be415d94861aecd977ca8d962e6aff14670a Merge: 257602e 0f39f84 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Merge pull request #50 from syohex/workaround-18845 Apply bug#18845 workaround --- csharp-mode.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/csharp-mode.el b/csharp-mode.el index 46eb7a5..69ae0b2 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -288,6 +288,11 @@ (require 'cc-mode) (require 'cl-lib) +;; Work around emacs bug#18845 +(eval-when-compile + (when (and (= emacs-major-version 24) (>= emacs-minor-version 4)) + (require 'cl))) + ;; ================================================================== ;; c# upfront stuff ;; ==================================================================