aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2014-05-27 21:12:04 -0400
committerStefan Monnier2014-05-27 21:12:04 -0400
commit1af6db7de0248f64967ec47c6cde8ea371741dfc (patch)
tree90640e4185afa21e6410503b706d0c331e83a53c
parentfc21a7de3a92a38c5b00ce64a81c8668d0482fbb (diff)
downloademacs-1af6db7de0248f64967ec47c6cde8ea371741dfc.tar.gz
emacs-1af6db7de0248f64967ec47c6cde8ea371741dfc.zip
* lisp/progmodes/hideshow.el (hs-hide-all): Call syntax-propertize.
Fixes: debbugs:17608
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/hideshow.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 01f68d8c338..812804bab5c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
4 (bug#17608).
5
12014-05-21 Michal Nazarewicz <mina86@mina86.com> 62014-05-21 Michal Nazarewicz <mina86@mina86.com>
2 7
3 * textmodes/tildify.el (tildify-buffer, tildify-region): 8 * 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."
789 (unless hs-allow-nesting 789 (unless hs-allow-nesting
790 (hs-discard-overlays (point-min) (point-max))) 790 (hs-discard-overlays (point-min) (point-max)))
791 (goto-char (point-min)) 791 (goto-char (point-min))
792 (syntax-propertize (point-max))
792 (let ((spew (make-progress-reporter "Hiding all blocks..." 793 (let ((spew (make-progress-reporter "Hiding all blocks..."
793 (point-min) (point-max))) 794 (point-min) (point-max)))
794 (re (concat "\\(" 795 (re (concat "\\("