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/d-mode/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/d-mode/files')
-rw-r--r-- | app-emacs/d-mode/files/50d-mode-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/app-emacs/d-mode/files/50d-mode-gentoo.el b/app-emacs/d-mode/files/50d-mode-gentoo.el new file mode 100644 index 000000000000..6fdf0dd8f397 --- /dev/null +++ b/app-emacs/d-mode/files/50d-mode-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'd-mode "d-mode" "Major mode for editing D code" t) +(add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode)) diff --git a/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch b/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch new file mode 100644 index 000000000000..e8fc3500b48e --- /dev/null +++ b/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/536490 +https://bugs.gentoo.org/547026 + +--- Emacs-D-Mode-2.0.6-orig/d-mode.el ++++ Emacs-D-Mode-2.0.6/d-mode.el +@@ -66,6 +66,7 @@ + ;; necessary to get them compiled.) + ;; Coment out 'when-compile part for debugging + (eval-when-compile ++ (require 'cl) + (require 'cc-langs) + (require 'cc-fonts) + ) |