summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-29 16:52:07 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-29 16:52:07 +0300
commit6f57cb6d8141e35fee39ea31f08d4ce5cf6c51e5 (patch)
tree95d8b1f41fe33b45f44742be2459434286918acb /lisp/startup.el
parent5cae71834bd55e0bf90689b12b801206ee8c9da9 (diff)
downloademacs-6f57cb6d8141e35fee39ea31f08d4ce5cf6c51e5.tar.gz
emacs-6f57cb6d8141e35fee39ea31f08d4ce5cf6c51e5.tar.bz2
emacs-6f57cb6d8141e35fee39ea31f08d4ce5cf6c51e5.zip
Fix point adjustment in recreated *Messages* buffers
* lisp/startup.el (normal-top-level): Move setting of 'window-point-insertion-type' from here... * lisp/simple.el (messages-buffer-mode): ...to here. This is so any *Messages* buffers we create instead of the original one, if it's killed, will have the same type of the window-point marker. (Bug#57466)
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index b0fbf7a34cd..50a8f491d8e 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -718,8 +718,6 @@ It is the default value of the variable `top-level'."
(let ((dir default-directory))
(with-current-buffer "*Messages*"
(messages-buffer-mode)
- ;; Make it easy to do like "tail -f".
- (setq-local window-point-insertion-type t)
;; Give *Messages* the same default-directory as *scratch*,
;; just to keep things predictable.
(setq default-directory (or dir (expand-file-name "~/")))))