Add cl-indentify

This commit is contained in:
Elizabeth Hunt 2023-04-24 13:21:18 -06:00
parent 0ffecf331e
commit 45e0be8bc6
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -269,7 +269,15 @@
(add-hook 'slime-repl-mode-hook 'set-up-slime-ac) (add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
(eval-after-load "auto-complete" (eval-after-load "auto-complete"
'(add-to-list 'ac-modes 'slime-repl-mode)) '(add-to-list 'ac-modes 'slime-repl-mode))
#+END_SRC
**** cl-indentify
#+BEGIN_SRC emacs-lisp
(defun on-lisp-save-cl-indentify ()
(when (eq major-mode 'lisp-mode)
(shell-command
(format "~/.roswell/bin/cl-indentify -r %s" (buffer-file-name)))))
(add-hook 'after-save-hook
#'on-lisp-save-cl-indentify)
#+END_SRC #+END_SRC
*** Elixir *** Elixir
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp