summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2003-09-13 13:51:57 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2003-09-13 13:51:57 +0000
commita3462839a8e61827e46532f8d8303a9c65e7ce28 (patch)
tree20ce166e3d837dd94b70b01d70cdf4bab43410a2 /lisp/electric.el
parentd19e23b189e9afcd04c88b171898b2378acc8a11 (diff)
downloademacs-a3462839a8e61827e46532f8d8303a9c65e7ce28.tar.gz
(Electric-pop-up-window): For the `one-window' case,
no longer disconcertingly move point in the original buffer.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r--lisp/electric.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/electric.el b/lisp/electric.el
index 776a99035cc..6df74eac6ef 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -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))))