mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
[emacs] Apply lisp setup to minibuffer eval
This commit is contained in:
parent
585ba7104f
commit
8fc7e301a3
1 changed files with 14 additions and 10 deletions
|
@ -425,16 +425,20 @@ A modern list api for Emacs. No 'cl required.
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
(mapc (lambda (lisp)
|
(let ((lisp-mode-hooks
|
||||||
(let ((mode-hook (intern (concat lisp "-mode-hook"))))
|
(mapcar (lambda (lisp)
|
||||||
(message (format "Installing LISP mode hook for %S" lisp))
|
(intern (concat lisp "-mode-hook")))
|
||||||
(add-hook mode-hook (lambda ()
|
(mapcar 'car (cddr '<<lisps()>>)))))
|
||||||
(show-paren-mode t)
|
(mapc (lambda (hook)
|
||||||
(electric-indent-mode t)
|
(message (format "Installing LISP mode hook for %S" hook))
|
||||||
(paredit-mode t)
|
(add-hook hook (lambda ()
|
||||||
(rainbow-delimiters-mode t)
|
(show-paren-mode t)
|
||||||
(rainbow-identifiers-mode t)))))
|
(electric-indent-mode t)
|
||||||
(mapcar 'car (cddr '<<lisps()>>)))
|
(paredit-mode t)
|
||||||
|
(rainbow-delimiters-mode t)
|
||||||
|
(rainbow-identifiers-mode t))))
|
||||||
|
(cons 'eval-expression-minibuffer-setup-hook
|
||||||
|
lisp-mode-hooks)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Lisp-Flavored Erlang
|
*** Lisp-Flavored Erlang
|
||||||
#+name: programming
|
#+name: programming
|
||||||
|
|
Loading…
Reference in a new issue