diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-10 16:23:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-10 16:24:48 -0700 |
commit | 7b3ec63f9f718a27152883b649256c392179a057 (patch) | |
tree | 50c391f381157559617aa926309c05205ecc08c0 | |
parent | af9516e81cd9cbe39e4bfcb32f52916993288828 (diff) | |
download | dotfiles-7b3ec63f9f718a27152883b649256c392179a057.tar.gz |
fix activating paredit in Scheme interaction buffers
-rw-r--r-- | .emacs.d/init-spw.el | 8 |
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) |