]> code.delx.au - gnu-emacs/commitdiff
* lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
authorMark Oteiza <mvoteiza@udel.edu>
Fri, 8 Jan 2016 17:19:09 +0000 (12:19 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Fri, 8 Jan 2016 17:19:09 +0000 (12:19 -0500)
lisp/play/dunnet.el

index 941f98ebb697921c11d72e1b3c43ab858008b275..8ed0bb3bbb41fe34181fa380976bc4b5df9416ba 100644 (file)
@@ -1203,7 +1203,7 @@ for a moment, then straighten yourself up.
   (interactive)
   (forward-line (- 0 (- (window-height) 2 )))
   (set-window-start (selected-window) (point))
-  (end-of-buffer))
+  (goto-char (point-max)))
 
 ;;; Insert something into the buffer, followed by newline.