ethan-leba / tree-edit

🌲 Structural editing in Emacs for any™ language!
GNU General Public License v3.0
395 stars 16 forks source link

Proper error message if `tree-edit-grammar` isn't loaded #45

Closed ethan-leba closed 2 years ago

ethan-leba commented 2 years ago

This should just be a pre-flight check before one of the parser operations (tree-edit--replacement-p, insertions, deletions) that throws an error if tree-edit-grammar is nil.

ethan-leba commented 2 years ago

Fixed by cf3fbd2 * tweak: autoload grammar file before parser fns