summaryrefslogtreecommitdiff
blob: 1bbc0d2d3a454602d0f4af7dab4899d9d2ed299b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/528374

--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -125,6 +125,10 @@
 		  (stringp byte-compile-dest-file))
 	     (cons (file-name-directory byte-compile-dest-file) load-path)
 	   load-path)))
+    (and (= emacs-major-version 24)
+	 (= emacs-minor-version 4)
+	 (null emacs-repository-version)
+	 (require 'cl))
     (load "cc-mode" nil t)
     (load "cc-fonts" nil t)
     (load "cc-langs" nil t)))