diff options
author | H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de> | 2020-08-13 11:51:17 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-13 11:51:26 +0200 |
commit | eb090f65ceb0ae8a90829e911694348583135ba5 (patch) | |
tree | 964248036ee1fa764cd81bc1b1481e03927ddb27 /lisp/emacs-lisp/pp.el | |
parent | 838a1a313caf9695a518c69b553abc1389b22495 (diff) | |
download | emacs-eb090f65ceb0ae8a90829e911694348583135ba5.tar.gz emacs-eb090f65ceb0ae8a90829e911694348583135ba5.tar.bz2 emacs-eb090f65ceb0ae8a90829e911694348583135ba5.zip |
Handle negative prefix arguments to mark-paragraph correctly
* textmodes/paragraph.el (mark-paragraph): Handle negative
arguments correctly (bug#18847). This makes `M- M-h M-h' do the
correct thing with expanding the region (like other marking
commands) backwards. Also fix problem at the end of the buffer,
where the numbers of paragraphs left in the buffer is less than
ARG, then paragraphs would also be marked *before* the current
paragraph. Also clarify the doc string.
Diffstat (limited to 'lisp/emacs-lisp/pp.el')
0 files changed, 0 insertions, 0 deletions