diff options
author | 2019-03-04 23:39:03 -0800 | |
---|---|---|
committer | 2019-03-04 23:39:03 -0800 | |
commit | 31b8c099cb44c89c45026e106971758f23d8e1d1 (patch) | |
tree | a5f8a6488f342e53f06459b82368bdb1d40168f5 | |
parent | fe96a4aa752f05a434b3c2a44c779ad4b0be6e73 (diff) | |
download | emacs-config-31b8c099cb44c89c45026e106971758f23d8e1d1.tar.gz emacs-config-31b8c099cb44c89c45026e106971758f23d8e1d1.zip |
Add IELM settings to oni-elisp
-rw-r--r-- | oni-elisp.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/oni-elisp.el b/oni-elisp.el index 9f055ed..ea094cf 100644 --- a/oni-elisp.el +++ b/oni-elisp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 20190218234734 +;; Version: 20190304233629 ;; 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 @@ -27,6 +27,7 @@ ;;; Code: (require 'erefactor) +(require 'ielm) (add-hook 'emacs-lisp-mode-hook 'company-mode) (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 '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) ;;;###autoload(with-eval-after-load 'elisp-mode (require 'oni-elisp)) +;;;###autoload(with-eval-after-load 'ielm (require 'oni-elisp)) (provide 'oni-elisp) ;;; oni-elisp.el ends here |