[slime-devel] Patch for (looking-at nil) bug in hideshow.
lawrence mitchell
wence at gmx.li
Mon Jan 12 00:08:23 UTC 2004
slime-events-buffer initialises hs-minor-mode before setting
hs-block-start-regexp. This stops the *slime-events* buffer
from being correctly set up, and subsequently stops slime from
ever getting to the repl. The following patch fixes things:
Index: ChangeLog
===================================================================
RCS file: /project/slime/cvsroot/slime/ChangeLog,v
retrieving revision 1.196
diff -u -r1.196 ChangeLog
--- ChangeLog 10 Jan 2004 06:52:23 -0000 1.196
+++ ChangeLog 12 Jan 2004 00:03:59 -0000
@@ -1,3 +1,8 @@
+2004-01-12 Lawrence Mitchell <wence at gmx.li>
+
+ * slime.el (slime-events-buffer): Set `hs-block-start-regexp'
+ before running `hs-minor-mode'.
+
2004-01-10 Luke Gorrie <luke at bluetail.com>
* slime.el (package-updating): Expected package is now a list (can
Index: slime.el
===================================================================
RCS file: /project/slime/cvsroot/slime/slime.el,v
retrieving revision 1.172
diff -u -r1.172 slime.el
--- slime.el 10 Jan 2004 06:43:52 -0000 1.172
+++ slime.el 12 Jan 2004 00:04:43 -0000
@@ -1484,8 +1484,8 @@
(let ((buffer (get-buffer-create "*slime-events*")))
(with-current-buffer buffer
(lisp-mode)
- (hs-minor-mode)
(set (make-local-variable 'hs-block-start-regexp) "^(")
+ (hs-minor-mode)
(setq font-lock-defaults nil)
(current-buffer)))))
--
lawrence mitchell <wence at gmx.li>
More information about the slime-devel
mailing list