summaryrefslogtreecommitdiff
path: root/nextstep
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2019-03-27 15:13:25 +0000
committerBasil L. Contovounesios <contovob@tcd.ie>2019-03-31 17:08:21 +0100
commit0cd250e9583deb1e1f4d8dae2ec44c4f7c13efa6 (patch)
treea50516ab3cc6eebcfc683a037a88d31a805c8a7f /nextstep
parent99be0aba4defb8377cb148f7805ea07babc6182f (diff)
downloademacs-0cd250e9583deb1e1f4d8dae2ec44c4f7c13efa6.tar.gz
Fix recently extended delete-indentation behavior
* doc/lispref/text.texi (User-Level Deletion): Document new optional arguments of delete-indentation. * lisp/simple.el (delete-indentation): Do not barf if called interactively when region is inactive. (bug#35021) Do not skip blank lines. (bug#35036) Consistently deactivate mark even when no text was changed. Handle active region spanning a single line. * test/lisp/simple-tests.el (simple-test--buffer-substrings): New convenience function. (simple-test--dummy-buffer, simple-test--transpositions): Use it. (simple-delete-indentation-no-region) (simple-delete-indentation-inactive-region): Update commentary. Call delete-indentation interactively when testing for behavior with inactive region and region is not explicitly defined. (simple-delete-indentation-blank-line) (simple-delete-indentation-boundaries) (simple-delete-indentation-region) (simple-delete-indentation-prefix): New tests.
Diffstat (limited to 'nextstep')
0 files changed, 0 insertions, 0 deletions