changeset 52498:00aea832bb14

(Electric-pop-up-window): For the `one-window' case, no longer disconcertingly move point in the original buffer.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 13 Sep 2003 13:51:57 +0000
parents 39bc6d966824
children a4c701476c84
files lisp/electric.el
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/electric.el	Sat Sep 13 09:49:46 2003 +0000
+++ b/lisp/electric.el	Sat Sep 13 13:51:57 2003 +0000
@@ -160,7 +160,6 @@
       (cond ((and (eq (window-buffer win) buf))
 	     (select-window win))
 	    (one-window
-	     (goto-char (window-start win))
 	     (pop-to-buffer buffer)
 	     (setq win (selected-window))
 	     (enlarge-window (- target-height (window-height win))))