ulm         14/11/19 17:27:02

  Added:                csharp-mode-0.7.0-emacs-24.4.patch
  Log:
  Fix build failure with Emacs 24.4, bug 528374.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
9433907D693FB5B8!)

Revision  Changes    Path
1.1                  
app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch?rev=1.1&content-type=text/plain

Index: csharp-mode-0.7.0-emacs-24.4.patch
===================================================================
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)))




Reply via email to