;; Scheme mode, and its idiosyncratic commands.
-;; Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc.
+;; Copyright (C) 1986, 1987, 1988, 1991 Free Software Foundation, Inc.
;; Adapted from Lisp mode by Bill Rozas, jinx@prep.
;; This file is part of GNU Emacs.
;; of special forms. Probably the code should be merged at some point
;; so that there is sharing between both libraries.
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/etc/scheme.el,v 1.7 1988/07/15 20:20:00 cph Rel $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/etc/scheme.el,v 1.8 1991/05/15 00:52:37 cph Exp $
(provide 'scheme)
\f
(setq scheme-mode-map (make-sparse-keymap))
(scheme-mode-commands scheme-mode-map)))
\f
+;;;###autoload
(defun scheme-mode ()
"Major mode for editing Scheme code.
Editing commands are similar to those of lisp-mode.
(setq major-mode 'scheme-mode)
(setq mode-name "Scheme"))
-(autoload 'run-scheme "xscheme"
- "Run an inferior Scheme process.
-Output goes to the buffer `*scheme*'.
-With argument, asks for a command line."
- t)
-
+;;;###autoload
(defvar scheme-mit-dialect t
"If non-nil, scheme mode is specialized for MIT Scheme.
Set this to nil if you normally use another dialect.")
;;; Requires C-Scheme release 5 or later
;;; Changes to Control-G handler require runtime version 13.85 or later
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/etc/xscheme.el,v 1.27 1991/01/08 04:49:24 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/etc/xscheme.el,v 1.28 1991/05/15 00:52:50 cph Exp $
(require 'scheme)
\f
+;;;###autoload
(defvar scheme-program-name "scheme"
"*Program invoked by the `run-scheme' command.")
+;;;###autoload
(defvar scheme-band-name nil
"*Band loaded by the `run-scheme' command.")
+;;;###autoload
(defvar scheme-program-arguments nil
"*Arguments passed to the Scheme program by the `run-scheme' command.")
(xscheme-evaluation-commands scheme-mode-map)
(xscheme-interrupt-commands scheme-mode-map)
\f
+;;;###autoload
(defun run-scheme (command-line)
"Run an inferior Scheme process.
Output goes to the buffer `*scheme*'.