bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14829: (no subject)


From: Barry Warsaw
Subject: bug#14829: (no subject)
Date: Fri, 26 Jul 2013 22:52:46 -0400

On Jul 25, 2013, at 12:05 PM, martin rudalics wrote:

>> I'm happy to test out a patch if it can be applied to 24.3.
>
>It's trivial, try the one below.
>
>Thanks, martin
>
>--- lisp/window.el     2013-07-06 14:24:54 +0000
>+++ lisp/window.el     2013-07-25 09:32:11 +0000
>@@ -5470,6 +5470,9 @@
>    (let ((buffer (if (bufferp buffer-or-name)
>                   buffer-or-name
>                 (get-buffer buffer-or-name)))
>+      ;; Make sure that when we split windows the old window keeps
>+      ;; point, bug#14829.
>+      (split-window-keep-point t)
>       ;; Handle the old form of the first argument.
>       (inhibit-same-window (and action (not (listp action)))))
>      (unless (listp action) (setq action nil))

Works great, thanks.  I've applied this to Ubuntu 13.10's version of Emacs
24.3.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]