# HG changeset patch # User Thien-Thi Nguyen # Date 1063461117 0 # Node ID 00aea832bb14c68e05e7fbc4173c40f0f6aff727 # Parent 39bc6d966824b277da23cb361ba9bd96261c881d (Electric-pop-up-window): For the `one-window' case, no longer disconcertingly move point in the original buffer. diff -r 39bc6d966824 -r 00aea832bb14 lisp/electric.el --- 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))))