diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/csharp-mode/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
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))) |