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
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M emacs/init.el → emacs/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)