bug-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]