[CM] Emacs question

andersvi at extern.uio.no andersvi at extern.uio.no
Thu Jun 29 07:23:05 PDT 2006


>>>>> "E" == Erich Neuwirth <erich.neuwirth at 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




More information about the Cmdist mailing list