jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.39k stars 259 forks source link

Could `:magic` accept match functions as well? #939

Open woolsweater opened 3 years ago

woolsweater commented 3 years ago

It seems that the :magic keyword to add to magic-mode-alist only accepts regex, although a match function would also be valid.

It's not clear to me whether this was a deliberate choice or just an accident of the :magic implementation, but it would be great if match function support could be added!

azerbe commented 2 years ago

+1