summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch')
-rw-r--r--app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch b/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch
index 1bbc0d2d3a45..c3f73201cbae 100644
--- a/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch
+++ b/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch
@@ -2,13 +2,12 @@ https://bugs.gentoo.org/528374
--- a/csharp-mode.el
+++ b/csharp-mode.el
-@@ -125,6 +125,10 @@
+@@ -125,6 +125,9 @@
(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)
++ (>= emacs-minor-version 4)
+ (require 'cl))
(load "cc-mode" nil t)
(load "cc-fonts" nil t)