diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/csharp-mode/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/csharp-mode/files')
-rw-r--r-- | app-emacs/csharp-mode/files/50csharp-mode-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el b/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el new file mode 100644 index 000000000000..ea2056b6a29d --- /dev/null +++ b/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t) +(add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-mode)) 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 new file mode 100644 index 000000000000..c3f73201cbae --- /dev/null +++ b/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/528374 + +--- a/csharp-mode.el ++++ b/csharp-mode.el +@@ -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) ++ (require 'cl)) + (load "cc-mode" nil t) + (load "cc-fonts" nil t) + (load "cc-langs" nil t))) |