emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 1a6b084: * lisp/play/dunnet.el (dun-fix-screen):


From: Mark Oteiza
Subject: [Emacs-diffs] emacs-25 1a6b084: * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
Date: Fri, 08 Jan 2016 17:20:21 +0000

branch: emacs-25
commit 1a6b0846b5fbf08aa4288ae9e47c59cfca30459f
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
---
 lisp/play/dunnet.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el
index 941f98e..8ed0bb3 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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]