* bs.el (bs--down): When wrapping around, use `forward-line',
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Feb 2009 15:27:40 +0000 (15:27 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Feb 2009 15:27:40 +0000 (15:27 +0000)
  not `goto-line', to avoid distracting "Mark set" message.

lisp/ChangeLog
lisp/bs.el

index 154e91e..80fc866 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * bs.el (bs--down): When wrapping around, use `forward-line',
+       not `goto-line', to avoid distracting "Mark set" message.
+
 2009-02-23  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
 
        * ibuffer.el (ibuffer-redisplay-engine): Avoid "Mark set" message
index 96bad48..9b818e5 100644 (file)
@@ -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)