File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 62
62
63
63
(require 'comint )
64
64
(require 'lisp-mode )
65
+ (require 'shell )
65
66
66
67
67
68
(defgroup inferior-lisp nil
@@ -289,15 +290,20 @@ to continue it."
289
290
" Run an inferior Lisp process, input and output via buffer `*inferior-lisp*' .
290
291
If there is a process already running in `*inferior-lisp*' , just switch
291
292
to that buffer.
293
+
292
294
With argument, allows you to edit the command line (default is value
293
295
of `inferior-lisp-program' ). Runs the hooks from
294
296
`inferior-lisp-mode-hook' (after the `comint-mode-hook' is run).
297
+
298
+ If any parts of the command name contains spaces, they should be
299
+ quoted using shell quote syntax.
300
+
295
301
\( Type \\ [describe-mode] in the process buffer for a list of commands.)"
296
302
(interactive (list (if current-prefix-arg
297
303
(read-string " Run lisp: " inferior-lisp-program)
298
304
inferior-lisp-program)))
299
305
(if (not (comint-check-proc " *inferior-lisp*" ))
300
- (let ((cmdlist (split-string cmd)))
306
+ (let ((cmdlist (split-string-shell-command cmd)))
301
307
(set-buffer (apply (function make-comint)
302
308
" inferior-lisp" (car cmdlist) nil (cdr cmdlist)))
303
309
(inferior-lisp-mode )))
You can’t perform that action at this time.
0 commit comments