• Stephen Leake's avatar
    Fix bug in delete-indentation when region is inactive · b515edb9
    Stephen Leake authored
    * test/lisp/simple-tests.el: Add tests for delete-indentation.
    (simple-delete-indentation-no-region): Works with no region.
    (simple-delete-indentation-inactive-region): Was broken with inactive
    region; now fixed.
    
    * lisp/simple.el (delete-indentation): Check (use-region-p) before using BEG.
    b515edb9
simple.el 364 KB