Commit 91d82a70 authored by John Yates's avatar John Yates Committed by Chong Yidong
Browse files

* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.

Fixes: debbugs:10855
parent 69188b79
2012-03-21 John Yates <> (tiny change)
* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
line (Bug#10855).
2012-03-21 Drew Adams <>
* info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
......@@ -607,6 +607,7 @@ as cdr."
;; forward comment, and see if we are inside, then extend
;; forward and backward as long as we have comments
(let ((q (point)))
(skip-chars-forward "[:blank:]")
(when (or (looking-at hs-c-start-regexp)
(re-search-backward hs-c-start-regexp (point-min) t))
;; first get to the beginning of this comment...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment