]> git.eshelyaron.com Git - emacs.git/commit
Read mailcaps again only when necessary
authorGregory Heytings <gregory@heytings.org>
Mon, 1 Nov 2021 13:51:57 +0000 (14:51 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Nov 2021 13:51:57 +0000 (14:51 +0100)
commitdaea9b3b44a4dc09017c3d2d5b8eaa4c68cdd2b0
tree700b380dd3566886993346417b467f17d22ddf86
parent453d104602a04521afd46b57c05462b6bc74305b
Read mailcaps again only when necessary

* doc/lispref/files.texi (File Attributes): Document it.

* lisp/files.el (file-has-changed-p): New function.
(file-has-changed-p--hash-table): Internal variable used by the
new function (bug#51523).
* lisp/emacs-lisp/shortdoc.el (file): Mention it.

* lisp/net/mailcap.el (mailcap-parse-mailcaps): Read mailcaps again
only when at least one of the mailcap files has changed.  Fixes
bug#51523.
doc/lispref/files.texi
etc/NEWS
lisp/emacs-lisp/shortdoc.el
lisp/files.el
lisp/net/mailcap.el