Commit eb022c1e authored by Vasilij Schneidermann's avatar Vasilij Schneidermann Committed by Martin Rudalics
Browse files

In `ielm' use `pop-to-buffer-same-window' instead of `switch-to-buffer'

* lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
parent 244a0086
......@@ -615,7 +615,7 @@ See `inferior-emacs-lisp-mode' for details."
(with-current-buffer (get-buffer-create "*ielm*")
(unless (zerop (buffer-size)) (setq old-point (point)))
(switch-to-buffer "*ielm*")
(pop-to-buffer-same-window "*ielm*")
(when old-point (push-mark old-point))))
(provide 'ielm)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment