mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Refactor REPL config
This commit is contained in:
@ -1,9 +1,16 @@
|
||||
;;; module-lisp --- all things lisp
|
||||
;; see lib/elisp-defuns.el
|
||||
|
||||
(define-repl! emacs-lisp-mode ielm)
|
||||
(add-hook! emacs-lisp-mode 'turn-on-eldoc-mode)
|
||||
|
||||
;; Pop-up REPL
|
||||
(defun narf-inf-ielm ()
|
||||
(ielm)
|
||||
(let ((buf (current-buffer)))
|
||||
(bury-buffer)
|
||||
(pop-to-buffer buf)))
|
||||
(define-repl! emacs-lisp-mode narf-inf-ielm)
|
||||
|
||||
;; [pedantry intensifies]
|
||||
(defadvice emacs-lisp-mode (after emacs-lisp-mode-rename-modeline activate)
|
||||
(setq mode-name "Elisp"))
|
||||
|
Reference in New Issue
Block a user