aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-13 23:40:33 +0000
committerRichard M. Stallman1994-06-13 23:40:33 +0000
commit97dfc68c2ed63b83892aa0acf3ced92ad557a716 (patch)
tree2d044895d19f5a37820f6183917a329fbc9fd200
parente7601974b01313142586cc665d42c5db83782681 (diff)
downloademacs-97dfc68c2ed63b83892aa0acf3ced92ad557a716.tar.gz
emacs-97dfc68c2ed63b83892aa0acf3ced92ad557a716.zip
(end-of-buffer): Recenter overlay lists.
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 484b217c5fa..6dbfccad589 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -289,7 +289,9 @@ Don't use this command in Lisp programs!
289 (goto-char (window-start)) 289 (goto-char (window-start))
290 (vertical-motion (window-height)) 290 (vertical-motion (window-height))
291 (< (point) old-point))) 291 (< (point) old-point)))
292 (recenter -3)))) 292 (progn
293 (overlay-recenter (point))
294 (recenter -3)))))
293 295
294(defun mark-whole-buffer () 296(defun mark-whole-buffer ()
295 "Put point at beginning and mark at end of buffer. 297 "Put point at beginning and mark at end of buffer.