[slime-cvs] CVS slime/contrib
heller
heller at common-lisp.net
Fri Aug 31 12:23:13 UTC 2007
Update of /project/slime/cvsroot/slime/contrib
In directory clnet:/tmp/cvs-serv625
Modified Files:
slime-c-p-c.el
Log Message:
* slime-c-p-c.el (slime-c-p-c-init): Fix typos.
--- /project/slime/cvsroot/slime/contrib/slime-c-p-c.el 2007/08/31 11:48:23 1.1
+++ /project/slime/cvsroot/slime/contrib/slime-c-p-c.el 2007/08/31 12:23:12 1.2
@@ -8,9 +8,14 @@
;;
;; License: GNU GPL (same license as Emacs)
;;
-;;;
+;;; Installation
;;
+;; Add this to your .emacs:
;;
+;; (add-to-list 'load-path "<directory-of-this-file>")
+;; (add-hook 'slime-load-hook (lambda () (require 'slime-c-p-c)))
+;;
+
(require 'slime-parse)
@@ -151,10 +156,12 @@
;;; Initialization
(defun slime-c-p-c-init ()
- (setq 'slime-complete-symbol-function 'slime-complete-symbol*)
+ (setq slime-complete-symbol-function 'slime-complete-symbol*)
(add-hook 'slime-connected-hook 'slime-c-p-c-on-connect))
(defun slime-c-p-c-on-connect ()
- (slime-eval-async '(swank:swank-require :arglists)))
+ (slime-eval-async '(swank:swank-require :swank-arglists)))
+
+(slime-c-p-c-init)
(provide 'slime-c-p-c)
More information about the slime-cvs
mailing list