summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-10 16:23:26 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-10 16:24:48 -0700
commit7b3ec63f9f718a27152883b649256c392179a057 (patch)
tree50c391f381157559617aa926309c05205ecc08c0
parentaf9516e81cd9cbe39e4bfcb32f52916993288828 (diff)
downloaddotfiles-7b3ec63f9f718a27152883b649256c392179a057.tar.gz
fix activating paredit in Scheme interaction buffers
-rw-r--r--.emacs.d/init-spw.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index 453ffda9..441c6bf1 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -1813,10 +1813,10 @@ mutt's review view, after exiting EDITOR."
eval-expression-minibuffer-setup-hook))
(add-to-list hook 'enable-paredit-mode))
- (with-eval-after-load 'scheme-mode
- (dolist (hook '(scheme-mode-hook
- inferior-scheme-mode-hook))
- (add-to-list hook 'enable-paredit-mode))))
+ (with-eval-after-load 'scheme
+ (add-to-list 'scheme-mode-hook 'enable-paredit-mode))
+ (with-eval-after-load 'xscheme
+ (add-to-list 'xscheme-start-hook 'enable-paredit-mode)))
(with-eval-after-load 'paredit
(diminish 'paredit-mode)