]> git.eshelyaron.com Git - emacs.git/commit
Fix (end-of-defun N) for N >= 2
authorNoam Postavsky <npostavs@gmail.com>
Tue, 11 Aug 2020 14:02:11 +0000 (16:02 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Aug 2020 14:02:11 +0000 (16:02 +0200)
commit9b9473ad755da13cb74bf33c99c081f39eec6e08
treec5fdbd7d857c6fc78e98c9b9559697262a68ed5d
parent2a47ef86e95fad1dcc14a02e7471ba5d9cad4b9b
Fix (end-of-defun N) for N >= 2

* lisp/emacs-lisp/lisp.el (end-of-defun): Only skip to next line when
after end of defun when ARG is 1 or less.
* test/lisp/emacs-lisp/lisp-tests.el (end-of-defun-twice): New
test (bug#24427).
lisp/emacs-lisp/lisp.el
test/lisp/emacs-lisp/lisp-tests.el