purcell / whole-line-or-region

In Emacs, operate on current line if no region is active
114 stars 12 forks source link

Fix #26 #27

Closed m2ym closed 1 month ago

m2ym commented 1 month ago

Fix #26.

The main change is to use propertize instead of put-text-property on filter-buffer-substring-function to avoid modifying buffer-undo-list. I'm not quite sure this change is safe and doesn't break anything.

purcell commented 1 month ago

Thanks, this looks reasonable and safe to me. I'm fixing the CI separately.