From: Stefan Monnier Date: Wed, 28 May 2014 01:12:04 +0000 (-0400) Subject: * lisp/progmodes/hideshow.el (hs-hide-all): Call syntax-propertize. X-Git-Tag: emacs-25.0.90~2612^2~709^2~866 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1af6db7de0248f64967ec47c6cde8ea371741dfc;p=emacs.git * lisp/progmodes/hideshow.el (hs-hide-all): Call syntax-propertize. Fixes: debbugs:17608 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01f68d8c338..812804bab5c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-05-28 Stefan Monnier + + * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize + (bug#17608). + 2014-05-21 Michal Nazarewicz * textmodes/tildify.el (tildify-buffer, tildify-region): diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index e9349b655b0..45420f2a250 100644 --- 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 "\\("