aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-02-23 15:27:40 +0000
committerJuanma Barranquero2009-02-23 15:27:40 +0000
commit936934f5e0c72c1427eb783a5746ddbec519bfda (patch)
tree4c11bb7eeff3b0159008cef25f0b600f237ca1dc
parent3deb93c663738615ef54366eef53162fd4fa6c2a (diff)
downloademacs-936934f5e0c72c1427eb783a5746ddbec519bfda.tar.gz
emacs-936934f5e0c72c1427eb783a5746ddbec519bfda.zip
* bs.el (bs--down): When wrapping around, use `forward-line',
not `goto-line', to avoid distracting "Mark set" message.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/bs.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 154e91e3c64..80fc866aa27 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-02-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * bs.el (bs--down): When wrapping around, use `forward-line',
4 not `goto-line', to avoid distracting "Mark set" message.
5
12009-02-23 Geoff Gole <geoffgole@gmail.com> (tiny change) 62009-02-23 Geoff Gole <geoffgole@gmail.com> (tiny change)
2 7
3 * ibuffer.el (ibuffer-redisplay-engine): Avoid "Mark set" message 8 * ibuffer.el (ibuffer-redisplay-engine): Avoid "Mark set" message
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."
1008 "Move cursor vertically down one line. 1008 "Move cursor vertically down one line.
1009If at end of buffer list go to first line." 1009If at end of buffer list go to first line."
1010 (if (eq (line-end-position) (point-max)) 1010 (if (eq (line-end-position) (point-max))
1011 (goto-line (1+ bs-header-lines-length)) 1011 (progn
1012 (goto-char 1)
1013 (forward-line bs-header-lines-length))
1012 (forward-line 1))) 1014 (forward-line 1)))
1013 1015
1014(defun bs-visits-non-file (buffer) 1016(defun bs-visits-non-file (buffer)