Skip to content

ethan-wspace detetes trailing minuses (dashes) in auctex math formulas #38

Description

@sewkokot

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions