mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(vi-next-line): Ignore return value of line-move.
This commit is contained in:
parent
00b733b76d
commit
c0d8c0a4c5
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ The given COUNT is remembered for future scrollings."
|
|||
"Go down count lines, try to keep at the same column."
|
||||
(interactive "p")
|
||||
(setq this-command 'next-line) ; this is a needed trick
|
||||
(if (= (point) (or (line-move count) (point)))
|
||||
(if (= (point) (progn (line-move count) (point)))
|
||||
(ding) ; no moving, already at end of buffer
|
||||
(setq last-command 'next-line)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue