summaryrefslogtreecommitdiff
path: root/emacs
blob: 38877305db818ee96a73c39896fbd2e48277bb06 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; https://elpa.gnu.org/packages/aggressive-indent.html
;; Automatic Activation of Aggressive Indent

(global-aggressive-indent-mode 1)

;; https://www.emacswiki.org/emacs/ParEdit
;; Automatic Activation of ParEdit

(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
(add-hook 'emacs-lisp-mode-hook       #'enable-paredit-mode)
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode)
(add-hook 'ielm-mode-hook             #'enable-paredit-mode)
(add-hook 'lisp-mode-hook             #'enable-paredit-mode)
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
(add-hook 'scheme-mode-hook           #'enable-paredit-mode)