lewang / ws-butler

Unobtrusively trim extraneous white-space *ONLY* in lines edited.
242 stars 26 forks source link

ws-butler-global-exempt-modes doesn't quite work #48

Closed dabrahams closed 1 year ago

dabrahams commented 1 year ago

If I want to exempt a mode, I have to exempt a mode it's derived from. Will submit a PR

phil-s commented 1 year ago

What's an example of the problem?

If (memq major-mode ws-butler-global-exempt-modes) then it's also true that (apply #'derived-mode-p ws-butler-global-exempt-modes) so this change looks like a no-op to me.

dabrahams commented 1 year ago

Afraid I don't remember, and if what you say is true I was probably simply dead wrong :-) Thanks, I'll close it for you.