Trivial patch:
2003-12-02 Nix <nix(a)esperi.org.uk>
* hideshow.el (hs-grok-mode-type): Don't fail if comment-start or
comment-end are nil.
Index: packages/xemacs-packages/c-support/hideshow.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/c-support/hideshow.el,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 hideshow.el
--- packages/xemacs-packages/c-support/hideshow.el 1998/01/14 06:43:48 1.1.1.1
+++ packages/xemacs-packages/c-support/hideshow.el 2003/12/02 21:45:17
@@ -291,7 +291,9 @@
(defun hs-grok-mode-type ()
"Setup variables for new buffers where applicable."
(if (and (boundp 'comment-start)
- (boundp 'comment-end))
+ (boundp 'comment-end)
+ comment-start
+ comment-end)
(progn
(setq hs-c-start-regexp (regexp-quote comment-start))
(if (string-match " +$" hs-c-start-regexp)
--
`We would attempt a witticism, but mere English language comedy is as
dust once you have read the study of Hecke rings in chapter 2.'
--- `Verity Stob' on the Wiles proof