]> git.eshelyaron.com Git - emacs.git/commit
Fix 'reverse-region' when less than one line is in region
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Feb 2020 08:47:08 +0000 (10:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Feb 2020 08:47:08 +0000 (10:47 +0200)
commitb392c9f365d081d98d9fbad5d54cadb7b9be15af
treef70afa2a851c2215b71accfa15f0a107f487ce8c
parent7448834f738b243d67f0bb2c9e8b531fc64d9064
Fix 'reverse-region' when less than one line is in region

* lisp/sort.el (reverse-region): Signal a user-error if the region
includes less than one full line, thus avoiding an inadvertent
deletion of text following the current line.  Fix the doc string.
Fix comments to start with a capital letter.  (Bug#39376)
lisp/sort.el