HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab952a4
)
(end-of-buffer): Fix code scrolling specially
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 10 Oct 2001 11:55:39 +0000
(11:55 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 10 Oct 2001 11:55:39 +0000
(11:55 +0000)
for the buffer end.
lisp/simple.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index
bf86112
..
ea0d3ce
100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-412,7
+412,7
@@
Don't use this command in Lisp programs!
;; If we went to a place in the middle of the buffer,
;; adjust it to the beginning of a line.
(cond (arg (forward-line 1))
- ((
<
(point) (window-end nil t))
+ ((
>
(point) (window-end nil t))
;; If the end of the buffer is not already on the screen,
;; then scroll specially to put it near, but not at, the bottom.
(overlay-recenter (point))