diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-08-17 12:49:29 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-08-17 12:49:29 +0100 |
commit | 7e0dab42d7b74f293423e2a743cccffae38773ae (patch) | |
tree | 90d8ee208da49f1f6eebe77f134492ce67301479 /emacs-prelude/personal/lisp/init-paredit.el | |
parent | d0db5660caa836755ea8c99471d816484ea9e837 (diff) | |
download | dotfiles-7e0dab42d7b74f293423e2a743cccffae38773ae.tar.gz |
Remove emacs prelude config
Diffstat (limited to 'emacs-prelude/personal/lisp/init-paredit.el')
-rw-r--r-- | emacs-prelude/personal/lisp/init-paredit.el | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/emacs-prelude/personal/lisp/init-paredit.el b/emacs-prelude/personal/lisp/init-paredit.el deleted file mode 100644 index 6eb20d8..0000000 --- a/emacs-prelude/personal/lisp/init-paredit.el +++ /dev/null @@ -1,27 +0,0 @@ -(defun add-hooks (modes func) - (dolist (mode modes) - (add-hook (intern (concat (symbol-name mode) "-hook")) func))) - -(setq lisp-modes - '(scheme-mode emacs-lisp-mode lisp-mode clojure-mode cider-repl-mode - eval-expression-minibuffer-setup ielm-mode lisp-interaction-mode)) - -(defun add-lisp-hook (func) - (add-hooks lisp-modes func)) - -(prelude-require-package 'paredit) -(use-package paredit - :diminish - :bind (([remap mark-sexp] . sp-mark-sexp) ;; sp does this better! - ("M-[" . paredit-wrap-square)) - :config - (add-lisp-hook #'turn-off-smartparens-mode) - (add-lisp-hook #'enable-paredit-mode)) - -(use-package paredit-functions - :after paredit - :ensure nil - :load-path "~/.emacs.d/personal/lisp/paredit-functions.el") - -(provide 'init-paredit) - |