/[slime]/slime/slime-autoloads.el
ViewVC logotype

Diff of /slime/slime-autoloads.el

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

revision 1.6 by heller, Fri Mar 27 20:49:41 2009 UTC revision 1.7 by sboukarev, Sat Mar 2 01:17:09 2013 UTC
# Line 12  Line 12 
12    
13  ;;; Code:  ;;; Code:
14    
15  (autoload 'slime "slime"  (unless (featurep 'slime)
16    "Start a Lisp subprocess and connect to its Swank server." t)    (autoload 'slime "slime"
17                "Start a Lisp subprocess and connect to its Swank server." t)
18    
19  (autoload 'slime-mode "slime"    (autoload 'slime-mode "slime"
20    "SLIME: The Superior Lisp Interaction (Minor) Mode for Emacs." t)              "SLIME: The Superior Lisp Interaction (Minor) Mode for Emacs." t)
21    
22  (autoload 'slime-connect "slime"    (autoload 'slime-connect "slime"
23    "Connect to a running Swank server." t)              "Connect to a running Swank server." t)
24    
25  (autoload 'hyperspec-lookup "hyperspec" nil t)    (autoload 'hyperspec-lookup "hyperspec" nil t)
26    
27  (autoload 'slime-lisp-mode-hook "slime")    (autoload 'slime-lisp-mode-hook "slime")
28  (autoload 'slime-scheme-mode-hook "slime")    (autoload 'slime-scheme-mode-hook "slime")
29    
30  (defvar slime-lisp-modes '(lisp-mode))    (defvar slime-lisp-modes '(lisp-mode))
31  (defvar slime-setup-contribs nil    (defvar slime-setup-contribs nil
32    "List of contribst to load.      "List of contribst to load.
33  Modified my slime-setup.")  Modified my slime-setup.")
34    
35  (defun slime-setup (&optional contribs)    (defun slime-setup (&optional contribs)
36    "Setup Emacs so that lisp-mode buffers always use SLIME.      "Setup Emacs so that lisp-mode buffers always use SLIME.
37  CONTRIBS is a list of contrib packages to load."  CONTRIBS is a list of contrib packages to load."
38    (when (member 'lisp-mode slime-lisp-modes)      (when (member 'lisp-mode slime-lisp-modes)
39      (add-hook 'lisp-mode-hook 'slime-lisp-mode-hook))        (add-hook 'lisp-mode-hook 'slime-lisp-mode-hook))
40    (setq slime-setup-contribs contribs)      (setq slime-setup-contribs contribs)
41    (add-hook 'slime-load-hook 'slime-setup-contribs))      (add-hook 'slime-load-hook 'slime-setup-contribs))
42    
43  (provide 'slime-autoloads)    (provide 'slime-autoloads))
44    
45  ;;; slime-autoloads.el ends here  ;;; slime-autoloads.el ends here

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.5