unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* forward-paragraph return value
@ 2010-08-23 18:25 Andreas Röhler
  2010-08-23 20:59 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Röhler @ 2010-08-23 18:25 UTC (permalink / raw)
  To: Emacs developers


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/




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-08-24 17:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23 18:25 forward-paragraph return value Andreas Röhler
2010-08-23 20:59 ` Andreas Schwab
2010-08-24  5:43   ` Andreas Röhler
2010-08-24  8:27     ` Stephen J. Turnbull
2010-08-24  9:14       ` Andreas Röhler
2010-08-24 11:30         ` Davis Herring
2010-08-24 16:57           ` Andreas Röhler
2010-08-24 12:06         ` Stephen J. Turnbull
2010-08-24 17:10           ` Andreas Röhler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).