From: Mark Oteiza Date: Fri, 8 Jan 2016 17:19:09 +0000 (-0500) Subject: * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`. X-Git-Tag: emacs-25.0.90~234 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a6b084;p=emacs.git * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`. --- diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index 941f98ebb69..8ed0bb3bbb4 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el @@ -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.