diff options
| author | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
| commit | f4d5b687150810129b7a1d5b006e31ccf82b691b (patch) | |
| tree | 4229b13800349032697daae3904dc3773e6b7a80 /lisp/progmodes/hideshow.el | |
| parent | d5514332d4a6092673ce1f78fadcae0c57f7be64 (diff) | |
| parent | 148100d98319499f0ac6f57b8be08cbd14884a5c (diff) | |
| download | emacs-comment-cache.tar.gz emacs-comment-cache.zip | |
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/progmodes/hideshow.el')
| -rw-r--r-- | lisp/progmodes/hideshow.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 0e4e67018ed..5328526abd9 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el | |||
| @@ -582,7 +582,7 @@ and then further adjusted to be at the end of the line." | |||
| 582 | (setq p (line-end-position))) | 582 | (setq p (line-end-position))) |
| 583 | ;; `q' is the point at the end of the block | 583 | ;; `q' is the point at the end of the block |
| 584 | (hs-forward-sexp mdata 1) | 584 | (hs-forward-sexp mdata 1) |
| 585 | (setq q (if (looking-back hs-block-end-regexp) | 585 | (setq q (if (looking-back hs-block-end-regexp nil) |
| 586 | (match-beginning 0) | 586 | (match-beginning 0) |
| 587 | (point))) | 587 | (point))) |
| 588 | (when (and (< p q) (> (count-lines p q) 1)) | 588 | (when (and (< p q) (> (count-lines p q) 1)) |