]> git.eshelyaron.com Git - emacs.git/commit
Fix bogus future history entries for `M-x grep'
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 17 May 2022 19:00:25 +0000 (21:00 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 17 May 2022 19:00:25 +0000 (21:00 +0200)
commitf719250f77cf3aa7a9cdf02011375f9d1e7a3775
tree6540216d2fc5486a87969815532530945320017d
parent514cfbb267ee678f5b2d6aa6c9824fb32b3ac69d
Fix bogus future history entries for `M-x grep'

* lisp/net/mailcap.el (mailcap-file-default-commands): If we have
no matching MIME types, don't iterate over (nil) (bug#27236).

This fixes things like:

(mailcap-file-default-commands '("grep --color=auto -nH --null '' "))
=> ("/usr/bin/emacs -nw")
lisp/net/mailcap.el