all repos — nixfiles @ a0b0e04d9f47729697eba4bb491b647bfd8d81f9

System and user configuration, managed by nix and home-manager

Emacs: Don't call redshank-mode if redshank is not loaded
Alan Pearce alan@alanpearce.co.uk
Mon, 20 May 2013 12:44:49 +0100
commit

a0b0e04d9f47729697eba4bb491b647bfd8d81f9

parent

29f84991f8dadd33ef61b4a902db5620f76b81e3

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -831,7 +831,8 @@ (defun ap/lisp-setup ()   (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)