Add IELM settings to oni-elisp
This commit is contained in:
parent
fe96a4aa75
commit
31b8c099cb
1 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 20190218234734
|
;; Version: 20190304233629
|
||||||
;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters nameless fill-column-indicator erefactor)
|
;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters nameless fill-column-indicator erefactor)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -27,6 +27,7 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'erefactor)
|
(require 'erefactor)
|
||||||
|
(require 'ielm)
|
||||||
|
|
||||||
(add-hook 'emacs-lisp-mode-hook 'company-mode)
|
(add-hook 'emacs-lisp-mode-hook 'company-mode)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'erefactor-lazy-highlight-turn-on)
|
(add-hook 'emacs-lisp-mode-hook 'erefactor-lazy-highlight-turn-on)
|
||||||
|
@ -36,9 +37,14 @@
|
||||||
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
|
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
|
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
|
||||||
|
|
||||||
|
(add-hook 'ielm-mode-hook 'paredit-mode)
|
||||||
|
|
||||||
|
(setq ielm-prompt "λ> ")
|
||||||
|
|
||||||
(define-key emacs-lisp-mode-map (kbd "C-c C-v") erefactor-map)
|
(define-key emacs-lisp-mode-map (kbd "C-c C-v") erefactor-map)
|
||||||
|
|
||||||
;;;###autoload(with-eval-after-load 'elisp-mode (require 'oni-elisp))
|
;;;###autoload(with-eval-after-load 'elisp-mode (require 'oni-elisp))
|
||||||
|
;;;###autoload(with-eval-after-load 'ielm (require 'oni-elisp))
|
||||||
|
|
||||||
(provide 'oni-elisp)
|
(provide 'oni-elisp)
|
||||||
;;; oni-elisp.el ends here
|
;;; oni-elisp.el ends here
|
||||||
|
|
Loading…
Reference in a new issue