blob: a23e03ae81faac6e662d7137de6472725a45c809 [file] [log] [blame]
(add-to-list 'load-path "@SITELISP@")
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code." t)
(let ((turn-on-paredit-mode (lambda () (paredit-mode 1))))
;; some hooks: lisp-mode-hook and scheme-mode-hook are recommended
;; in the paredit source code
(add-hook 'lisp-mode-hook turn-on-paredit-mode)
(add-hook 'scheme-mode-hook turn-on-paredit-mode)
(add-hook 'emacs-lisp-mode-hook turn-on-paredit-mode)
(add-hook 'slime-mode-hook turn-on-paredit-mode))