]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/term/w32-win.el (w32--textual-mime-types): Escape literal `+`
authorMattias EngdegÄrd <mattiase@acm.org>
Wed, 6 Nov 2024 12:41:39 +0000 (13:41 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 13:34:09 +0000 (14:34 +0100)
(cherry picked from commit 42fe3420e476045228a219579343f16da29256cf)

lisp/term/w32-win.el

index 7579608ac22eb41bcad513f042ec92611db8d3c0..911bd72184dc836825e0676aa3d1dc35ba1cd2d5 100644 (file)
@@ -469,10 +469,10 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
     "application/yaml"
     "application/json-seq"
     "\\`text/"
-    "+xml\\'"
-    "+json\\'"
-    "+yaml\\'"
-    "+json-seq\\'"))
+    "\\+xml\\'"
+    "\\+json\\'"
+    "\\+yaml\\'"
+    "\\+json-seq\\'"))
 
 (defun w32--mime-type-textual-p (mime-type)
   "Returns t if MIME-TYPE, a symbol, names a textual MIME type.