Support quoting <#secure> tag.
authorDaiki Ueno <ueno@unixuser.org>
Wed, 26 Oct 2011 02:20:30 +0000 (11:20 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Wed, 26 Oct 2011 02:20:30 +0000 (11:20 +0900)
* mml.el (mml-quote-region): Quote <#secure> tag.
(mml-generate-mime-1): Unquote <#secure> tag.

lisp/ChangeLog
lisp/mml.el

index b05cfa6..66c2363 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-26  Daiki Ueno  <ueno@unixuser.org>
+
+       * mml.el (mml-quote-region): Quote <#secure> tag.
+       (mml-generate-mime-1): Unquote <#secure> tag.
+
 2011-10-20  Chong Yidong  <cyd@gnu.org>
 
        * gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
index 0d2ae2a..352fa32 100644 (file)
@@ -525,7 +525,7 @@ If MML is non-nil, return the buffer up till the correspondent mml tag."
                      ;; Remove quotes from quoted tags.
                      (goto-char (point-min))
                      (while (re-search-forward
-                             "<#!+/?\\(part\\|multipart\\|external\\|mml\\)"
+                             "<#!+/?\\(part\\|multipart\\|external\\|mml\\|secure\\)"
                              nil t)
                        (delete-region (+ (match-beginning 0) 2)
                                       (+ (match-beginning 0) 3))))))
@@ -1232,7 +1232,7 @@ If not set, `default-directory' will be used."
       (goto-char (point-min))
       ;; Quote parts.
       (while (re-search-forward
-             "<#!*/?\\(multipart\\|part\\|external\\|mml\\)" nil t)
+             "<#!*/?\\(multipart\\|part\\|external\\|mml\\|secure\\)" nil t)
        ;; Insert ! after the #.
        (goto-char (+ (match-beginning 0) 2))
        (insert "!")))))