Closed ttuegel closed 5 years ago
C-xC-s MUST check syntax even if the buffer is not modified.
In response to your feedback, I changed my pull request so that hhp-save-buffer
is bound to [remap save-buffer]
using define-key
.
Merged. Thank you for your contribution!
Calling hhp-check-syntax from after-save-hook ensures that it runs even if the user has remapped C-x C-s in their Emacs configuration.