]> git.eshelyaron.com Git - emacs.git/commit
Fix split-window-below for the case when split-window-keep-point is nil.
authorJuri Linkov <juri@linkov.net>
Wed, 18 Jan 2023 18:24:26 +0000 (20:24 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 18 Jan 2023 18:24:26 +0000 (20:24 +0200)
commit758ac5eabbe05fa5244e1bf863e45069035f311c
tree6edb4bd262cb4b0d77ef2200ffe8ff378c630c1b
parent8e9783b4ce42122a8670f16f21a73597a226b674
Fix split-window-below for the case when split-window-keep-point is nil.

* lisp/window.el (split-window-below): Don't try to move point when
split-window-keep-point is nil and window-to-split is not the selected window
or nil (that defaults to the selected window) because code makes sense
only for the selected window.
(split-window-below, split-window-right): Improve docstrings (bug#60886)
lisp/window.el