[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no e
From: |
Nicolas Richard |
Subject: |
bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually |
Date: |
Wed, 11 Jun 2014 16:14:41 +0200 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Maybe hs-hide-all should call (syntax-propertize (point-max)), then.
I forgot to follow up on this bug ; the following indeed worked for me :
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -789,6 +789,7 @@ If `hs-hide-comments-when-hiding-all' is non-nil, also hide
the comments."
(unless hs-allow-nesting
(hs-discard-overlays (point-min) (point-max)))
(goto-char (point-min))
+ (syntax-propertize (point-max))
(let ((spew (make-progress-reporter "Hiding all blocks..."
(point-min) (point-max)))
(re (concat "\\("
--
Nico.
- bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually,
Nicolas Richard <=