diff options
| author | Stefan Monnier | 2002-10-03 23:00:19 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2002-10-03 23:00:19 +0000 |
| commit | 7b462fc6c48b205a4aa1e819cf28fce1eaeca63e (patch) | |
| tree | c0b10cf3a8acfe66fd7706e4ef2a84652fbcaeb5 | |
| parent | 7803dbb027ba6833393304bd1a481b605b85d7f4 (diff) | |
| download | emacs-7b462fc6c48b205a4aa1e819cf28fce1eaeca63e.tar.gz emacs-7b462fc6c48b205a4aa1e819cf28fce1eaeca63e.zip | |
(forward-paragraph): Return the steps left.
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index bc4cac2a088..73dbd56240d 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -299,7 +299,9 @@ to which the end of the previous line belongs, or the end of the buffer." | |||
| 299 | (if (< (point) (point-max)) | 299 | (if (< (point) (point-max)) |
| 300 | (goto-char start))) | 300 | (goto-char start))) |
| 301 | (setq arg (1- arg))) | 301 | (setq arg (1- arg))) |
| 302 | (constrain-to-field nil opoint t))) | 302 | (constrain-to-field nil opoint t) |
| 303 | ;; Return the number of steps that could not be done. | ||
| 304 | arg)) | ||
| 303 | 305 | ||
| 304 | (defun backward-paragraph (&optional arg) | 306 | (defun backward-paragraph (&optional arg) |
| 305 | "Move backward to start of paragraph. | 307 | "Move backward to start of paragraph. |