diff options
Diffstat (limited to 'lisp/bs.el')
-rw-r--r-- | lisp/bs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/bs.el b/lisp/bs.el index 96bad48cf2a..9b818e58a6e 100644 --- a/lisp/bs.el +++ b/lisp/bs.el @@ -1008,7 +1008,9 @@ If on top of buffer list go to last line." "Move cursor vertically down one line. If at end of buffer list go to first line." (if (eq (line-end-position) (point-max)) - (goto-line (1+ bs-header-lines-length)) + (progn + (goto-char 1) + (forward-line bs-header-lines-length)) (forward-line 1))) (defun bs-visits-non-file (buffer) |