Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/sml-mode/sml-mode-startup.el
ViewVC logotype

Diff of /sml/trunk/sml-mode/sml-mode-startup.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 319, Mon Jun 7 22:47:00 1999 UTC revision 350, Wed Jun 23 00:38:58 1999 UTC
# Line 5  Line 5 
5  ;;#ident "@(#)$Name$:$Id$"  ;;#ident "@(#)$Name$:$Id$"
7  ;; don't forget to add the directory to your load-path  ;; don't forget to add the directory to your load-path
8  (setq load-path (cons "@elcdir@" load-path))  (add-to-list 'load-path "@elcdir@")
10  ;; make sure the mode is loaded when necessary  ;; make sure the mode is loaded when necessary
11  (setq auto-mode-alist  (add-to-list 'auto-mode-alist '("\\.s\\(ml\\|ig\\)\\'" . sml-mode))
       (cons '("\\.s\\(ml\\|ig\\)\\'" . sml-mode) auto-mode-alist))  
 (autoload 'sml-mode "sml-mode" "Major mode for editing SML." t)  
 (autoload 'run-sml "sml-proc" "Run an inferior SML process" t)  
13  ;; put this also if you feel like it (for SML/NJ's compilation manager)  ;; put this also if you feel like it (for SML/NJ's compilation manager)
14  (setq completion-ignored-extensions (cons "CM/" completion-ignored-extensions))  (add-to-list 'completion-ignored-extensions "CM/")
16    ;; the rest is the auto-generated autoloads
18    ;;;### (autoloads (sml-mode) "sml-mode" "sml-mode.el" (14190 21870))
19    ;;; Generated autoloads from sml-mode.el
21    (autoload (quote sml-mode) "sml-mode" "\
22    Major mode for editing ML code.
23    Entry to this mode runs the hooks on sml-mode-hook.
24    \\{sml-mode-map}" t nil)
26    ;;;***
28    ;;;### (autoloads (sml-load-file sml-send-buffer sml-send-region
29    ;;;;;;  switch-to-sml run-sml) "sml-proc" "sml-proc.el" (14192 10910))
30    ;;; Generated autoloads from sml-proc.el
32    (autoload (quote run-sml) "sml-proc" "\
33    Run an inferior ML process, input and output via buffer *sml*.
34    With a prefix argument, this command allows you to specify any command
35    line options to pass to the complier. The command runs hook functions
36    on `comint-mode-hook' and `inferior-sml-mode-hook' in that order.
38    If there is a process already running in *sml*, just switch to that
39    buffer instead.
41    In fact the name of the buffer created is chosen to reflect the name
42    of the program name specified by `sml-program-name', or entered at the
43    prompt. You can have several inferior ML process running, but only one
44    current one -- given by `sml-buffer' (qv).
46    \(Type \\[describe-mode] in the process buffer for a list of commands.)" t nil)
48    (autoload (quote switch-to-sml) "sml-proc" "\
49    Switch to the ML process buffer.
50    With prefix argument, positions cursor at point, otherwise at end of buffer." t nil)
52    (autoload (quote sml-send-region) "sml-proc" "\
53    Send current region to the inferior ML process.
54    Prefix argument means switch-to-sml afterwards.
56    The region is written out to a temporary file and a \"use <temp-file>\" command
57    is sent to the compiler.
58    See variables `sml-use-command'." t nil)
60    (autoload (quote sml-send-buffer) "sml-proc" "\
61    Send buffer to inferior shell running ML process.
62    With a prefix argument switch to the sml buffer as well
63    \(cf. `sml-send-region')." t nil)
65    (autoload (quote sml-load-file) "sml-proc" "\
66    Load an ML file into the current inferior ML process.
67    With a prefix argument switch to sml buffer as well.
69    This command uses the ML command template `sml-use-command' to construct
70    the command to send to the ML process; a trailing \";\\n\" will be added
71    automatically." t nil)
73    ;;;***
75    ;;; Local Variables:
76    ;;; no-byte-compile: t
77    ;;; no-update-autoloads: t
78    ;;; End:

Removed from v.319  
changed lines
  Added in v.350

ViewVC Help
Powered by ViewVC 1.0.0