diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/window.el | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 384e15f758c..6e0b22c9835 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-25 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.el (display-buffer): In display-buffer bind | ||
| 4 | split-window-keep-point to t, bug#14829. | ||
| 5 | |||
| 1 | 2013-07-25 Juanma Barranquero <lekktu@gmail.com> | 6 | 2013-07-25 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * desktop.el: Rename internal "desktop-X" frame params to "desktop--X". | 8 | * desktop.el: Rename internal "desktop-X" frame params to "desktop--X". |
diff --git a/lisp/window.el b/lisp/window.el index a2acd2a81b0..86d93c0a9f6 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -5470,6 +5470,9 @@ argument, ACTION is t." | |||
| 5470 | (let ((buffer (if (bufferp buffer-or-name) | 5470 | (let ((buffer (if (bufferp buffer-or-name) |
| 5471 | buffer-or-name | 5471 | buffer-or-name |
| 5472 | (get-buffer buffer-or-name))) | 5472 | (get-buffer buffer-or-name))) |
| 5473 | ;; Make sure that when we split windows the old window keeps | ||
| 5474 | ;; point, bug#14829. | ||
| 5475 | (split-window-keep-point t) | ||
| 5473 | ;; Handle the old form of the first argument. | 5476 | ;; Handle the old form of the first argument. |
| 5474 | (inhibit-same-window (and action (not (listp action))))) | 5477 | (inhibit-same-window (and action (not (listp action))))) |
| 5475 | (unless (listp action) (setq action nil)) | 5478 | (unless (listp action) (setq action nil)) |