summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2003-09-13 13:53:30 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2003-09-13 13:53:30 +0000
commit4a5717d19fff2cf44cec9a324167f7f787fce81b (patch)
treeb6e707983824547125241c2a828bc9d24aa9b54c /lisp/electric.el
parente5f06fcebb1a15101ed2a862a1379889a71355d9 (diff)
downloademacs-4a5717d19fff2cf44cec9a324167f7f787fce81b.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))))