emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/comint-mime 81a5721953 1/4: Adjust regexps


From: ELPA Syncer
Subject: [elpa] externals/comint-mime 81a5721953 1/4: Adjust regexps
Date: Sat, 28 Sep 2024 12:57:44 -0400 (EDT)

branch: externals/comint-mime
commit 81a5721953a532ec242a1d295930c990605d8bbf
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Adjust regexps
---
 comint-mime.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/comint-mime.el b/comint-mime.el
index f61ef2d678..6fb2d490ec 100644
--- a/comint-mime.el
+++ b/comint-mime.el
@@ -61,12 +61,12 @@ only sends MIME content to Emacs via the mimecat command, 
so it
 ignores this option altogether.")
 
 (defvar comint-mime-renderer-alist
-  '(("^image/svg+xml\\>" . comint-mime-render-svg)
-    ("^image\\>" . comint-mime-render-image)
-    ("^text/html" . comint-mime-render-html)
+  '(("\\`image/svg+xml\\>" . comint-mime-render-svg)
+    ("\\`image\\>" . comint-mime-render-image)
+    ("\\`text/html\\>" . comint-mime-render-html)
     ;; Disable this by default until we are sure about the security 
implications
     ;; ("^text/latex" . comint-mime-render-latex)
-    ("^text\\>" . comint-mime-render-plain-text)
+    ("\\`text\\>" . comint-mime-render-plain-text)
     ("." . comint-mime-render-literally))
   "Alist associating MIME types to rendering functions.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]