emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

forward-paragraph return value


From: Andreas Röhler
Subject: forward-paragraph return value
Date: Mon, 23 Aug 2010 20:25:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6


Hi,

`forward-paragraph' presently returns "0" if the number of steps given by ARG is completed. It's code ends with:

    ;; Return the number of steps that could not be done.
    arg))

IMHO buffer-position reached is a more useful return value.

Function may return point only when successfully, nil otherwise.

Thanks all


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]