mm: change text/org to text/x-org
authorJulien Danjou <julien@danjou.info>
Sun, 23 Jan 2011 11:12:12 +0000 (12:12 +0100)
committerJulien Danjou <julien@danjou.info>
Sun, 23 Jan 2011 11:12:12 +0000 (12:12 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/mm-decode.el
lisp/mm-uu.el

index 53a0071..38f7adf 100644 (file)
@@ -1,3 +1,10 @@
+2011-01-23  Julien Danjou  <julien@danjou.info>
+
+       * mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
+
+       * mm-uu.el (mm-uu-org-src-code-block-extract): Change text/org to
+       text/x-org.
+
 2011-01-22  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-sum.el (gnus-summary-move-article): Protect against backends
index ea65dd6..2ae9c59 100644 (file)
@@ -241,7 +241,7 @@ before the external MIME handler is invoked."
     ("application/x-sh" mm-display-shell-script-inline identity)
     ("text/x-sh" mm-display-shell-script-inline identity)
     ("text/dns" mm-display-dns-inline identity)
-    ("text/org" mm-display-org-inline identity)
+    ("text/x-org" mm-display-org-inline identity)
     ("text/html"
      mm-inline-text-html
      (lambda (handle)
@@ -318,7 +318,7 @@ when selecting a different article."
     "application/pkcs7-mime"
     ;; Mutt still uses this even though it has already been withdrawn.
     "application/pgp\\'"
-     "text/org")
+     "text/x-org")
   "A list of MIME types to be displayed automatically."
   :type '(repeat regexp)
   :group 'mime-display)
index 6966122..200fa15 100644 (file)
@@ -393,7 +393,7 @@ apply the face `mm-uu-extract'."
 
 (defun mm-uu-org-src-code-block-extract ()
   (mm-make-handle (mm-uu-copy-to-buffer start-point end-point)
-                  '("text/org")))
+                  '("text/x-org")))
 
 (defvar gnus-newsgroup-name)