Open nordlow opened 4 years ago
aggressive-indent--keep-track-of-changes is not run when I run yas-expand because it doesn't trigger any call of any of the hooks
aggressive-indent--keep-track-of-changes
yas-expand
(add-hook 'after-change-functions #'aggressive-indent--keep-track-of-changes nil 'local) (add-hook 'after-revert-hook #'aggressive-indent--clear-change-list nil 'local) (add-hook 'before-save-hook #'aggressive-indent--process-changed-list-and-indent nil 'local) (add-hook 'kill-buffer-hook #'aggressive-indent--maybe-cancel-timer nil 'local)
Should I advice yas-expand to (run-hooks after-change-functions) or should some other hook be set to run aggressive-indent--keep-track-of-changes?
(run-hooks after-change-functions)
aggressive-indent--keep-track-of-changes
is not run when I runyas-expand
because it doesn't trigger any call of any of the hooksShould I advice
yas-expand
to(run-hooks after-change-functions)
or should some other hook be set to runaggressive-indent--keep-track-of-changes
?