Article View: comp.emacs
Article #8022Re: customizing run-lisp
From: shirono
Date: Thu, 01 Dec 1988 14:19
Date: Thu, 01 Dec 1988 14:19
41 lines
1920 bytes
1920 bytes
In comp.emacs, jr@bbn.com writes:
> (defun run-lisp ()
> "Run an inferior Lisp process, input and output via buffer *lisp*."
> (interactive)
> (switch-to-buffer (make-shell "lisp" inferior-lisp-program))
> (inferior-lisp-mode))
>
> Insert a 'c' inside the string argument to make-shell.
WRONG.
The first argument to make-shell is the name of the process, not the actual
program to execute (BTW, with '*' pre- and appended, it is the name of the
buffer to be used). The program to execute is inferior-lisp-program; and
is defined to be "lisp" somewhere in the distribution (it doesn't matter
where):
inferior-lisp-program's value is "lisp"
Documentation:
*Program name for invoking an inferior Lisp with `run-lisp'.
So, you can
M-x set-variable inferior-lisp-program "clisp"
once you have emacs running, or
(setq inferior-lisp-program "clisp")
in $HOME/.emacs
--Roberto
______________________________________________________________________________
|| Internet: shirono@ssd.harris.com
Roberto Shironoshita ||
Harris Corporation || ...!novavax---\
Computer Systems Division || UUCP: ...!uunet-------!hcx1!shirono
|| ...!mit-eddie-/
------------------------------------------------------------------------------
DISCLAIMER: The opinions expressed here are my own; they in no way reflect the
opinion or policies of Harris Corporation.
Technical Details
Message-ID:
<94600014@hcx3>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!uflorida!novavax!hcx1!hcx3!shironoReferences:
<32874@bbn.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!uflorida!novavax!hcx1!hcx3!shirono From: shirono@hcx3.SSD.HARRIS.COM Newsgroups: comp.emacs Subject: Re: customizing run-lisp Message-ID: <94600014@hcx3> Date: 1 Dec 88 14:19:00 GMT References: <32874@bbn.COM> Lines: 41 Nf-ID: #R:bbn.COM:32874:hcx3:94600014:000:1486 Nf-From: hcx3.SSD.HARRIS.COM!shirono Dec 1 09:19:00 1988