From b961af66b9e8c4ccc8efee0401231e1a8ff42c77 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 5 Dec 2021 20:53:47 +0100 Subject: [PATCH] Fix fancy-about-screen point placement * lisp/startup.el (fancy-about-screen): Make point placement more resilient (bug#43636). --- lisp/startup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index 8ea7a5b392d..e5e6b07b4d4 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1989,8 +1989,9 @@ splash screen in another window." (setq-local browse-url-browser-function 'eww-browse-url) (setq tab-width 22) (setq buffer-read-only t) + ;; Place point somewhere it doesn't cover a character. (goto-char (point-min)) - (forward-line 3)))) + (re-search-forward "\n$" nil nil 2)))) (defun fancy-splash-frame () "Return the frame to use for the fancy splash screen. -- 2.39.2