From: Mark Wooding Date: Mon, 11 May 2009 10:15:11 +0000 (+0100) Subject: dot-emacs: Initialize slime-repl-mode-map. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/873d87df647ebf8bbdf222791a03de2829c30456?ds=inline dot-emacs: Initialize slime-repl-mode-map. For some reason, some Debian versions of SLIME don't correctly initialize this, so we'd better do it by hand. Of course, this sucks. --- diff --git a/dot-emacs.el b/dot-emacs.el index 5b9408f..fea06c9 100644 --- a/dot-emacs.el +++ b/dot-emacs.el @@ -2072,6 +2072,10 @@ (defun mdw-fontify-smalltalk () ;; --- Lispy languages --- +;; Unpleasant bodge. +(unless (boundp 'slime-repl-mode-map) + (setq slime-repl-mode-map (make-sparse-keymap))) + (defun mdw-indent-newline-and-indent () (interactive) (indent-for-tab-command)