diff options
-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 |