* lisp/gnus/mm-uu.el (mm-uu-type-alist): Add markdown-diff/-emacs-sources
(Bug#50763)
This commit is contained in:
parent
2abf143f81
commit
c18db73f1c
1 changed files with 8 additions and 0 deletions
|
@ -145,6 +145,14 @@ This can be either \"inline\" or \"attachment\".")
|
|||
,#'mm-uu-pgp-key-extract
|
||||
,#'mm-uu-gpg-key-skip-to-last
|
||||
nil)
|
||||
(markdown-emacs-sources
|
||||
"^```\\(?:elisp\\|emacs-lisp\\|\n(\\)"
|
||||
"^```$"
|
||||
,#'mm-uu-emacs-sources-extract)
|
||||
(markdown-diff ;; this should be higher than `git-format-patch'
|
||||
"^```\\(?:diff\\|patch\\|\ndiff --git \\)"
|
||||
"^```$"
|
||||
,#'mm-uu-diff-extract)
|
||||
(emacs-sources
|
||||
"^;;;?[ \t]*[^ \t]+\\.el[ \t]*--"
|
||||
"^;;;?[ \t]*\\([^ \t]+\\.el\\)[ \t]+ends here"
|
||||
|
|
Loading…
Add table
Reference in a new issue