1 ;; Running an inferior xlispstat process under GNU Emacs 19.19
5 (defun xlisp-quit-sentinel (proc reason
)
6 (if (and (not (memq reason
'(run stop
))))
7 (save-buffers-kill-emacs)))
9 (defun set-xlisp-sentinel ()
10 (let ((process (inferior-lisp-proc)))
11 (set-process-sentinel process
'xlisp-quit-sentinel
)
12 (process-kill-without-query process
)))
14 (defun run-xlispstat-exit ()
18 (defun run-xlispstat ()
19 "Run an inferior xlispstat process."
21 (inferior-lisp "xlispstat"))
23 (defun run-kcl-exit ()
29 (inferior-lisp "kcl"))