lewang / ws-butler

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

Sharp-quote all functions #19

Open NicolasPetton opened 8 years ago

NicolasPetton commented 8 years ago

All functions should be sharp-quoted instead of being quoted (important when byte-compiling). In byte compilation, it causes its argument to be compiled:

        (add-hook 'after-change-functions 'ws-butler-after-change t t)

should be

        (add-hook 'after-change-functions #'ws-butler-after-change t t)
fmichaut-diff commented 3 weeks ago

This issue is still relevant - i'm having errors when using ws-buttler with emacs compilation, the fix looks simple, can we implement it ?