magit / magit

It's Magit! A Git Porcelain inside Emacs.
https://magit.vc
GNU General Public License v3.0
6.61k stars 821 forks source link

autoload magit--handle-bookmark and require magit-bookmark #5169

Closed jdtsmith closed 4 months ago

jdtsmith commented 4 months ago

Loading magit bookmarks from a new emacs session uses magit--handle-bookmark. This provides an autoload to ensure this works even prior to loading magit. magit-bookmark is also required, as it implements the necessary generic methods.

See Discussion #5168.

tarsius commented 4 months ago

Thanks!

In case you are wondering why I changed it to (quote magit-bookmark): that hides it from the tools I use to maintain the Emacsmirror, so epkg-describe package won't claim there is a circular dependency.