[slime-devel] Implementation Specific Configuration

Volkan YAZICI yazicivo at ttmail.com
Fri Nov 7 19:17:30 UTC 2008


Hi,

How can set local environment variables in slime-mode specific to each
lisp implementation?

I tried to use something similar to below code snippet.

  (defun custom-slime-mode ()
    (interactive)
    ...
    ;; Implementation specific symbol completion.
    (setq
     slime-complete-symbol-function
     (case slime-lisp-implementation-name
       ((x y z) 'slime-simple-complete-symbol)
       (t 'slime-fuzzy-complete-symbol))))
  
  (add-to-list 'slime-mode-hook 'custom-slime-mode)

But emacs complains that

  (void-variable slime-lisp-implementation-name)

How do you define implementation specific local environment variables?


Regards.




More information about the slime-devel mailing list