From 5247b85a848908dd3a470b60b537b372d85221d3 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 11 Mar 2021 12:16:20 -0600 Subject: Configure emacs lisp --- init.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index c5f8034..86eb548 100644 --- a/init.el +++ b/init.el @@ -350,6 +350,22 @@ (acdw/set `((eshell-directory-name ,(acdw/in-dir "eshell/" t)) (eshell-aliases-file ,(acdw/in-dir "eshell/aliases" t)))) +;;; Programming languages + +;; Emacs lisp +(acdw/set '((eval-expression-print-length nil) + (eval-expression-print-level nil))) + +(when (require 'cl-lib) + (setq-default lisp-indent-function #'common-lisp-indent-function) + (put 'cl-flet 'common-lisp-indent-function + (get 'flet 'common-lisp-indent-function)) + (put 'cl-labels 'common-lisp-indent-function + (get 'labels 'common-lisp-indent-function)) + (put 'if 'common-lisp-indent-function 2) + (put 'dotimes-protect 'common-lisp-indent-function + (get 'when 'common-lisp-indent-function))) + ;;; Miscellaneous (acdw/set '((disabled-command-function nil) -- cgit 1.4.1-21-gabe81