]> git.eshelyaron.com Git - emacs.git/commitdiff
(forward-paragraph): Return the steps left.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Oct 2002 23:00:19 +0000 (23:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 Oct 2002 23:00:19 +0000 (23:00 +0000)
lisp/textmodes/paragraphs.el

index bc4cac2a088f1a0c684fa1008ccea8cf4d460cf5..73dbd56240d608d39d9771af1b16871610078f87 100644 (file)
@@ -299,7 +299,9 @@ to which the end of the previous line belongs, or the end of the buffer."
        (if (< (point) (point-max))
            (goto-char start)))
       (setq arg (1- arg)))
-    (constrain-to-field nil opoint t)))
+    (constrain-to-field nil opoint t)
+    ;; Return the number of steps that could not be done.
+    arg))
 
 (defun backward-paragraph (&optional arg)
   "Move backward to start of paragraph.