Commits

Moritz Heidkamp  committed ce21fad

set slime-net-coding-system to 'utf-8-unix (thanks max)

  • Participants
  • Parent commits 3df695a

Comments (0)

Files changed (1)

 (eval-after-load 'slime
-  '(let ((keys
-          '(("M-n"     . forward-paragraph)
-            ("M-p"     . backward-paragraph))))
+  '(progn
+     (let ((keys
+            '(("M-n"     . forward-paragraph)
+              ("M-p"     . backward-paragraph))))
 
-     (dolist (key keys)
-       (define-key slime-mode-map
-         (read-kbd-macro (car key))
-         (cdr key)))))
+       (dolist (key keys)
+         (define-key slime-mode-map
+           (read-kbd-macro (car key))
+           (cdr key))))
+
+     ;; Avoids that some unicode characters blow up the Slime connection
+     ;; to the swank server
+     (setq slime-net-coding-system 'utf-8-unix)))