I have ethan-wspace installed for more than a year with the following configuration:
(use-package ethan-wspace
:diminish
:config
(setq mode-require-final-newline nil)
(setq ethan-wspace-face-customized nil)
(global-ethan-wspace-mode 1))
I'm using current emacs from git (compiled and built every two days or so)
For a week or two I have found that the function ethan-wspace-clean-before-save-hook in before-save-hook deletes trailing dashes (minuses) in math formulas of auctex mode. I have also noticed that strings of trailing dashes in comments of other modes are also removed.
How this happens and how to prevent it (delete only trailing spaces not dashes)?
Thank you in advance!
I have ethan-wspace installed for more than a year with the following configuration:
(use-package ethan-wspace
:diminish
:config
(setq mode-require-final-newline nil)
(setq ethan-wspace-face-customized nil)
(global-ethan-wspace-mode 1))
I'm using current emacs from git (compiled and built every two days or so)
For a week or two I have found that the function
ethan-wspace-clean-before-save-hookinbefore-save-hookdeletes trailing dashes (minuses) in math formulas of auctex mode. I have also noticed that strings of trailing dashes in comments of other modes are also removed.How this happens and how to prevent it (delete only trailing spaces not dashes)?
Thank you in advance!