Open woolsweater opened 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.
:magic
magic-mode-alist
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!
+1
It seems that the
:magic
keyword to add tomagic-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!