aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/hideshow.el
diff options
context:
space:
mode:
authorJuanma Barranquero2011-04-22 20:44:26 +0200
committerJuanma Barranquero2011-04-22 20:44:26 +0200
commite02f48d76bfd57f014ffbe3ba56b62f2d5ccc794 (patch)
treed27a2d9fd6838d6e619c824deb12a568ceac54f6 /lisp/progmodes/hideshow.el
parent7ede3b6577ae99a3e7ac45baa7cace439bf5070c (diff)
downloademacs-e02f48d76bfd57f014ffbe3ba56b62f2d5ccc794.tar.gz
emacs-e02f48d76bfd57f014ffbe3ba56b62f2d5ccc794.zip
lisp/progmodes/*.el: Lexical-binding cleanup.
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r--lisp/progmodes/hideshow.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 9468d7b463e..d07edd5de2f 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -565,10 +565,9 @@ and then further adjusted to be at the end of the line."
565 (if comment-reg 565 (if comment-reg
566 (hs-hide-comment-region (car comment-reg) (cadr comment-reg) end) 566 (hs-hide-comment-region (car comment-reg) (cadr comment-reg) end)
567 (when (looking-at hs-block-start-regexp) 567 (when (looking-at hs-block-start-regexp)
568 (let* ((mdata (match-data t)) 568 (let ((mdata (match-data t))
569 (header-beg (match-beginning 0)) 569 (header-end (match-end 0))
570 (header-end (match-end 0)) 570 p q ov)
571 p q ov)
572 ;; `p' is the point at the end of the block beginning, which 571 ;; `p' is the point at the end of the block beginning, which
573 ;; may need to be adjusted 572 ;; may need to be adjusted
574 (save-excursion 573 (save-excursion