Add ‘erefactor’ dependency for Elisp
This commit is contained in:
parent
80c88cac25
commit
e1827eb7f5
1 changed files with 10 additions and 5 deletions
15
oni-elisp.el
15
oni-elisp.el
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 20190213225638
|
;; Version: 20190218234734
|
||||||
;; Package-Requires: (oni-company oni-flycheck paredit rainbow-delimiters nameless fill-column-indicator)
|
;; 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
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -26,12 +26,17 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
|
(require 'erefactor)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
|
|
||||||
(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 'fci-mode)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
|
(add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'nameless-mode)
|
(add-hook 'emacs-lisp-mode-hook 'nameless-mode)
|
||||||
(add-hook 'emacs-lisp-mode-hook 'fci-mode)
|
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
|
||||||
|
(add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode)
|
||||||
|
|
||||||
|
(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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue