Mercurial > emacs
changeset 74266:d9bf7b54a410
(hs-already-hidden-p): Move to end of line so hidden blocks will be
correctly identified.
author | J.D. Smith <jdsmith@as.arizona.edu> |
---|---|
date | Mon, 27 Nov 2006 18:07:55 +0000 |
parents | c9bd6025f40e |
children | 8823864c534b |
files | lisp/progmodes/hideshow.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/hideshow.el Mon Nov 27 17:13:39 2006 +0000 +++ b/lisp/progmodes/hideshow.el Mon Nov 27 18:07:55 2006 +0000 @@ -706,6 +706,7 @@ (if (and c-reg (nth 0 c-reg)) ;; point is inside a comment, and that comment is hidable (goto-char (nth 0 c-reg)) + (end-of-line) (when (and (not c-reg) (hs-find-block-beginning) (looking-at hs-block-start-regexp))