summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
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))))