Menu

#504 mh-mm-inline-media-tests needs an autoload cookie

Unassigned
closed-fixed
None
5
2023-11-03
2023-11-02
No

mh-mm-inline-media-tests needs an autoload cookie because it is referenced by mh-display-msg.

This bug has been present since mh-mm-inline-media-tests was introduced, in 2002, but was masked until recently because mh-display-msg also calls mh-make-buffer-data, which autoloads the needed mh-mime library.

In April 2023, commit feef1a0592d updated the byte compiler optimizer to know that make-hash-table is side-effect-free. Because make-hash-table is the core of mh-make-buffer-data, mh-make-buffer-data is now inlined by the compiler, and calling it no longer loads mh-mime as a side effect.

Discussion

  • Stephen Gildea

    Stephen Gildea - 2023-11-03

    This was fixed July 2023 by Bill Wohler, who added "(require 'mh-mime)" to mh-show.el with commit a92ee5ca3c.

     
  • Stephen Gildea

    Stephen Gildea - 2023-11-03
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB