]> git.eshelyaron.com Git - emacs.git/commit
Make mailcap consistent about regexp-quoting minors
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 1 Oct 2022 13:20:42 +0000 (15:20 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 1 Oct 2022 13:20:42 +0000 (15:20 +0200)
commit3faa508eba84a1983732099cbd3cc1eaad404158
tree5780ac10ed984e75ee901fe79d5933ca233c99de
parent41234a21bf7d6713491ce60501bbf2d211fbac8e
Make mailcap consistent about regexp-quoting minors

* lisp/net/mailcap.el (mailcap-mime-data): Quote regexp.
(mailcap-mime-extensions): Ditto.
(mailcap--regexp-quote-type): New function.
(mailcap-parse-mimetype-file): Use it to get consistent quoting of
(regexp) strings (bug#52038).  Before you'd get both
application/vnd\.ms-excel and application/vnd.ms-excel (etc),
making prompting confusing.
lisp/net/mailcap.el