|
From: | Dmitry Gutov |
Subject: | bug#17247: 24.4.50; end-of-defun bug in elisp |
Date: | Tue, 20 May 2014 19:32:21 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 20.05.2014 17:20, Stefan Monnier wrote:
Anyway, the patch below seems to work fine. Not sure what the purpose of `end-of-line' was there.As Andreas mentioned, the end-of-line is there to make sure we "stay put" in case `pos' is already at a beginning of defun.
Is the current bug invalid, then?If we "stay put" in the current defun (which starts right after point), then when passed an argument of -1, shouldn't `end-of-defun' go to the end of the previous defun, which happens to be the same position?
[Prev in Thread] | Current Thread | [Next in Thread] |