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/markdown-mode/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/markdown-mode/files')
-rw-r--r-- | app-emacs/markdown-mode/files/50markdown-mode-gentoo.el | 5 | ||||
-rw-r--r-- | app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch | 23 |
2 files changed, 28 insertions, 0 deletions
diff --git a/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el new file mode 100644 index 000000000000..fb4a5cba03e8 --- /dev/null +++ b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'markdown-mode "markdown-mode" + "Major mode for editing Markdown files" t) +(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) +(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) diff --git a/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch b/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch new file mode 100644 index 000000000000..91449c6daa54 --- /dev/null +++ b/app-emacs/markdown-mode/files/markdown-mode-2.1-text-auto-mode.patch @@ -0,0 +1,23 @@ +From a70e74e0eedb436c4126ac69b0beaa4ab848b78e Mon Sep 17 00:00:00 2001 +From: Steve Purcell <steve@sanityinc.com> +Date: Mon, 14 Mar 2016 09:18:16 +1300 +Subject: Remove autoload for .text + +While .md and .markdown are clearly markdown files, the handling of .text is not a choice that markdown-mode should be making on the user's behalf without any opportunity to prevent it. + +diff --git a/markdown-mode.el b/markdown-mode.el +index b7a32cc..978e040 100644 +--- a/markdown-mode.el ++++ b/markdown-mode.el +@@ -6634,8 +6634,6 @@ BEG and END are the limits of scanned region." + ;;;###autoload + (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) + ;;;###autoload +-(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) +-;;;###autoload + (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) + + +-- +cgit v0.10.2 + |