]> code.delx.au - gnu-emacs/commitdiff
* lisp/progmodes/hideshow.el (hs-hide-all): Call syntax-propertize.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2014 01:12:04 +0000 (21:12 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2014 01:12:04 +0000 (21:12 -0400)
Fixes: debbugs:17608
lisp/ChangeLog
lisp/progmodes/hideshow.el

index 01f68d8c33801ca7fa4db2c0cd8331943642c910..812804bab5ce4642f5a16ff5d70ca01c4980b8d8 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
+       (bug#17608).
+
 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
 
        * textmodes/tildify.el (tildify-buffer, tildify-region):
index e9349b655b0bd5fdeb0fb1e86cbed0d8f344a371..45420f2a250c0ffbcdda1f65ac27ef20bf1d949c 100644 (file)
@@ -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 "\\("