defunkt / coffee-mode

Emacs Major Mode for CoffeeScript
http://ozmm.org/posts/coffee_mode.html
574 stars 147 forks source link

modifications to the behavior of backspace and indent functions #335

Closed cosmicexplorer closed 8 years ago

cosmicexplorer commented 8 years ago

These are a bunch of changes that modify the behavior of backspace and indentation functions.

9df9f06: Makes backspace delete a region when it is selected. 95b9b7a: Use use-region-p instead of mark-active, since mark-active doesn't detect when region is active for users of transient-mark-mode (like me). c3a1ce5: Only indent multiples of the tab width.

Feel free to apply as many or as few of these as you like.

syohex commented 8 years ago

Thanks for PR. I have merged your commits.