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 `switch-to-buffer'.
This commit is contained in:
parent
244a00860b
commit
eb022c1e74
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
(inferior-emacs-lisp-mode)))
|
||||
(switch-to-buffer "*ielm*")
|
||||
(pop-to-buffer-same-window "*ielm*")
|
||||
(when old-point (push-mark old-point))))
|
||||
|
||||
(provide 'ielm)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue