summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-20 12:44:49 +0100
committerAlan Pearce2013-05-20 12:44:49 +0100
commita0b0e04d9f47729697eba4bb491b647bfd8d81f9 (patch)
treeecd025ce8cc0d202aedd34443640c16914effe62
parent29f84991f8dadd33ef61b4a902db5620f76b81e3 (diff)
downloaddotfiles-a0b0e04d9f47729697eba4bb491b647bfd8d81f9.tar.lz
dotfiles-a0b0e04d9f47729697eba4bb491b647bfd8d81f9.tar.zst
dotfiles-a0b0e04d9f47729697eba4bb491b647bfd8d81f9.zip
Emacs: Don't call redshank-mode if redshank is not loaded
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 877e5fd..9c17e40 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -831,7 +831,8 @@ Also returns nil if pid is nil."
   (if (featurep 'autopair)
       (autopair-mode -1))
   (paredit-mode +1)
-  (redshank-mode +1)
+  (if (featurep 'redshank)
+	  (redshank-mode +1))
   (eldoc-add-command 'paredit-backward-delete 'paredit-close-round)
 
   (if (featurep 'auto-indent-mode)