]> code.delx.au - gnu-emacs/blobdiff - lisp/ielm.el
* progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support.
[gnu-emacs] / lisp / ielm.el
index 4397ea0b4132aa1ab52f5590555401587b28ac45..94bb299eaaceab03ed335a40891a3a530d0fd4cf 100644 (file)
@@ -553,8 +553,6 @@ Customized bindings may be defined in `ielm-map', which currently contains:
 
 ;;; User command
 
-;;;###autoload (add-hook 'same-window-buffer-names (purecopy "*ielm*"))
-
 ;;;###autoload
 (defun ielm nil
   "Interactively evaluate Emacs Lisp expressions.
@@ -565,7 +563,7 @@ Switches to the buffer `*ielm*', or creates it if it does not exist."
       (with-current-buffer (get-buffer-create "*ielm*")
        (unless (zerop (buffer-size)) (setq old-point (point)))
        (inferior-emacs-lisp-mode)))
-    (pop-to-buffer "*ielm*")
+    (switch-to-buffer "*ielm*")
     (when old-point (push-mark old-point))))
 
 (provide 'ielm)