Browse Source

Improve the behaviour of the visit-ielm command

custom
Bozhidar Batsov 13 years ago
parent
commit
18412db68d
  1. 5
      modules/prelude-emacs-lisp.el

5
modules/prelude-emacs-lisp.el

@ -46,7 +46,10 @@
(defun prelude-visit-ielm ()
(interactive)
(if (not (get-buffer "*ielm*"))
(ielm)
(progn
(split-window-sensibly (selected-window))
(other-window 1)
(ielm))
(switch-to-buffer-other-window "*ielm*")))
(define-key emacs-lisp-mode-map (kbd "C-c C-z") 'prelude-visit-ielm)

Loading…
Cancel
Save