Subject: Re: bug#14829: (no subject)

From: martin rudalics <[email-masked]>
Date: Thu, 25 Jul 2013 12:05:09 +0200

> 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))