[CM] Emacs question

andersvi@extern.uio.no andersvi@extern.uio.no
29 Jun 2006 16:23:05 +0200


>>>>> "E" == Erich Neuwirth <erich.neuwirth@univie.ac.at> writes:

    E> Can you tell me how I need to modify this code so M-x cm starts
    E> CM but M-x slime starts CLISP?

(defun cm ()
  (interactive)
  (let ((inferior-lisp-program "/usr/local/lisp/cm/bin/cm.bat"))
    (slime)))

will make "M-x cm" start slime with the indicated program as an
inferior lisp, and "M-x slime" start a default lisp as usual