summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-04 21:01:42 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-04 21:01:42 +0000
commit3496099ffe9903761f9255a38175f5913b19db7d (patch)
tree13fff20bc9e079771d9cfef6666e506156662b81 /lisp/simple.el
parent48addca75a9e70e83823ebf03b796c754546bd11 (diff)
downloademacs-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.el2
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