diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-04 21:01:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-04 21:01:42 +0000 |
commit | 3496099ffe9903761f9255a38175f5913b19db7d (patch) | |
tree | 13fff20bc9e079771d9cfef6666e506156662b81 /lisp/simple.el | |
parent | 48addca75a9e70e83823ebf03b796c754546bd11 (diff) | |
download | emacs-3496099ffe9903761f9255a38175f5913b19db7d.tar.gz |
(forward-visible-line): Use forward-line, not
vertical-motion, when moving backwards.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index fac5987756d..54674c59ea9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1189,7 +1189,7 @@ If ARG is zero, move to the beginning of the current line." (signal 'end-of-buffer nil))) (setq arg (1- arg))) (while (< arg 0) - (or (zerop (vertical-motion -1)) + (or (zerop (forward-line -1)) (signal 'beginning-of-buffer nil)) (while (and (not (bobp)) (let ((prop |