diff options
| author | Martin Rudalics | 2015-11-29 10:14:00 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2015-11-29 10:14:00 +0100 |
| commit | ca6edca2429c01dd7905c0de835bbdb23754b754 (patch) | |
| tree | 07449bf54d7c218718d4ffef7de1c5799e099eaf | |
| parent | 0c517aa613cf1265dafd0d4cdc6edf9892803d2b (diff) | |
| download | emacs-ca6edca2429c01dd7905c0de835bbdb23754b754.tar.gz emacs-ca6edca2429c01dd7905c0de835bbdb23754b754.zip | |
* lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
| -rw-r--r-- | lisp/window.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el index 67e39ecc9dd..54ac8115727 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -4851,8 +4851,9 @@ frame. The selected window is not changed by this function." | |||
| 4851 | (set-window-parameter (window-parent new) 'window-atom t)) | 4851 | (set-window-parameter (window-parent new) 'window-atom t)) |
| 4852 | (set-window-parameter new 'window-atom t))) | 4852 | (set-window-parameter new 'window-atom t))) |
| 4853 | 4853 | ||
| 4854 | ;; Sanitize sizes. | 4854 | ;; Sanitize sizes unless SIZE was specified. |
| 4855 | (window--sanitize-window-sizes frame horizontal) | 4855 | (unless size |
| 4856 | (window--sanitize-window-sizes frame horizontal)) | ||
| 4856 | 4857 | ||
| 4857 | (run-window-configuration-change-hook frame) | 4858 | (run-window-configuration-change-hook frame) |
| 4858 | (run-window-scroll-functions new) | 4859 | (run-window-scroll-functions new) |