[slime-devel] autodoc Re: hacking system internals from Slime

Madhu enometh at meer.net
Wed Dec 3 04:58:49 UTC 2008


* "Tobias C. Rittweiler" <87bpvwqk1r.fsf at freebits.de> :
Wrote on Mon, 01 Dec 2008 11:14:24 +0100:

| Do not use the slime-autodoc contrib, or alternatively, set
| `slime-use-autodoc-mode' to nil.

Shouldn't `slime-autodoc-mode' be buffer local?  I'm used to eldoc which
you turn explicitly in one buffer. You toggle it off using the same
function.

With slime-autodoc the global value gets toggled each time you call M-x
slime-autodoc-mode.  This behaviour was very confusing.


BTW You need the following chane if you want to allow
  M-x set-variable slime-use-autodoc-mode

--
Madhu


index 5ecb5c9..03c98b2 100644
--- a/contrib/slime-autodoc.el
+++ b/contrib/slime-autodoc.el
@@ -20,7 +20,7 @@
 (require 'slime-enclosing-context)
 
 (defvar slime-use-autodoc-mode t
-  "When non-nil always enable slime-autodoc-mode in slime-mode.")
+  "*When non-nil always enable slime-autodoc-mode in slime-mode.")
 
 (defun slime-fontify-string (string)
   "Fontify STRING as `font-lock-mode' does in Lisp mode."





More information about the slime-devel mailing list