Mercurial > emacs
comparison lisp/mh-e/mh-mime.el @ 68083:4aea781df851
(mh-mml-tag-present-p): Update regexp to handle <mml> tags inserted by
Gnus gnus-summary-mail-forward (closes SF #1399307).
author | Bill Wohler <wohler@newt.com> |
---|---|
date | Sat, 07 Jan 2006 18:23:44 +0000 |
parents | bbc0e52abce5 |
children | 57c4e7929f99 |
comparison
equal
deleted
inserted
replaced
68082:dfbba4e99c09 | 68083:4aea781df851 |
---|---|
691 (defun mh-mml-tag-present-p () | 691 (defun mh-mml-tag-present-p () |
692 "Check if the current buffer has text which may be a MML tag." | 692 "Check if the current buffer has text which may be a MML tag." |
693 (save-excursion | 693 (save-excursion |
694 (goto-char (point-min)) | 694 (goto-char (point-min)) |
695 (re-search-forward | 695 (re-search-forward |
696 "\\(<#part\\(.\\|\n\\)*>[ \n\t]*<#/part>\\|^<#secure.+>$\\)" | 696 (concat |
697 "\\(<#\\(mml\\|part\\)\\(.\\|\n\\)*>[ \n\t]*<#/\\(mml\\|part\\)>\\|" | |
698 "^<#secure.+>$\\)") | |
697 nil t))) | 699 nil t))) |
698 | 700 |
699 | 701 |
700 | 702 |
701 ;;; MIME cleanup | 703 ;;; MIME cleanup |