[slime-cvs] CVS slime

CVS User sboukarev sboukarev at common-lisp.net
Sat Mar 2 01:17:09 UTC 2013


Update of /project/slime/cvsroot/slime
In directory tiger.common-lisp.net:/tmp/cvs-serv21873

Modified Files:
	ChangeLog slime-autoloads.el 
Log Message:
* slime-autoloads.el: Don't load autoloads when slime is already
loaded, there's no sense in doing so.


--- /project/slime/cvsroot/slime/ChangeLog	2013/02/20 17:33:14	1.2394
+++ /project/slime/cvsroot/slime/ChangeLog	2013/03/02 01:17:09	1.2395
@@ -1,3 +1,8 @@
+2013-03-02  Stas Boukarev  <stassats at gmail.com>
+
+	* slime-autoloads.el: Don't load autoloads when slime is already
+	loaded, there's no sense in doing so.
+
 2013-02-20  Stas Boukarev  <stassats at gmail.com>
 
 	* slime.el (slime-attempt-connection): Don't run the timer with a
--- /project/slime/cvsroot/slime/slime-autoloads.el	2009/03/27 20:49:41	1.6
+++ /project/slime/cvsroot/slime/slime-autoloads.el	2013/03/02 01:17:09	1.7
@@ -12,33 +12,34 @@
 
 ;;; Code:
 
-(autoload 'slime "slime"
-  "Start a Lisp subprocess and connect to its Swank server." t) 
+(unless (featurep 'slime)
+  (autoload 'slime "slime"
+            "Start a Lisp subprocess and connect to its Swank server." t) 
 
-(autoload 'slime-mode "slime"
-  "SLIME: The Superior Lisp Interaction (Minor) Mode for Emacs." t)
+  (autoload 'slime-mode "slime"
+            "SLIME: The Superior Lisp Interaction (Minor) Mode for Emacs." t)
 
-(autoload 'slime-connect "slime"
-  "Connect to a running Swank server." t)
+  (autoload 'slime-connect "slime"
+            "Connect to a running Swank server." t)
 
-(autoload 'hyperspec-lookup "hyperspec" nil t)
+  (autoload 'hyperspec-lookup "hyperspec" nil t)
 
-(autoload 'slime-lisp-mode-hook "slime")
-(autoload 'slime-scheme-mode-hook "slime")
+  (autoload 'slime-lisp-mode-hook "slime")
+  (autoload 'slime-scheme-mode-hook "slime")
 
-(defvar slime-lisp-modes '(lisp-mode))
-(defvar slime-setup-contribs nil
-  "List of contribst to load.
+  (defvar slime-lisp-modes '(lisp-mode))
+  (defvar slime-setup-contribs nil
+    "List of contribst to load.
 Modified my slime-setup.")
 
-(defun slime-setup (&optional contribs)
-  "Setup Emacs so that lisp-mode buffers always use SLIME.
+  (defun slime-setup (&optional contribs)
+    "Setup Emacs so that lisp-mode buffers always use SLIME.
 CONTRIBS is a list of contrib packages to load."
-  (when (member 'lisp-mode slime-lisp-modes)
-    (add-hook 'lisp-mode-hook 'slime-lisp-mode-hook))
-  (setq slime-setup-contribs contribs)
-  (add-hook 'slime-load-hook 'slime-setup-contribs))
+    (when (member 'lisp-mode slime-lisp-modes)
+      (add-hook 'lisp-mode-hook 'slime-lisp-mode-hook))
+    (setq slime-setup-contribs contribs)
+    (add-hook 'slime-load-hook 'slime-setup-contribs))
 
-(provide 'slime-autoloads)
+  (provide 'slime-autoloads))
 
 ;;; slime-autoloads.el ends here





More information about the slime-cvs mailing list