]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfaults due to invalid selected-window's buffer
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Dec 2022 21:39:58 +0000 (23:39 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Dec 2022 21:39:58 +0000 (23:39 +0200)
commit3b618d0e3ed91c5b954b47f9044f7f3f3aa67c66
tree7a9295305153e0fe54a066a5f0f77fec4b35c3c1
parent99aa00e6e34b65169dd8328cb76cce648ba97e9d
Avoid segfaults due to invalid selected-window's buffer

* lisp/startup.el (initial-scratch-message): Don't use \\[...]
commands for substitute-command-keys.
* lisp/simple.el (get-scratch-buffer-create): Don't call
substitute-command-keys on initial-scratch-message, to avoid
signaling an error in rare cases.  (Bug#60096)
lisp/simple.el
lisp/startup.el