diff options
author | John Yates <john@yates-sheets.org> | 2012-03-22 01:02:09 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-03-22 01:02:09 +0800 |
commit | 91d82a702998f32b124d6efc89f3603af05313fe (patch) | |
tree | 0b40731fca25f3d44c8a3b2547cc9c9488bed608 /lisp/progmodes/hideshow.el | |
parent | 69188b79dfc4b933f818d536783b6911140961b7 (diff) | |
download | emacs-91d82a702998f32b124d6efc89f3603af05313fe.tar.gz emacs-91d82a702998f32b124d6efc89f3603af05313fe.tar.bz2 emacs-91d82a702998f32b124d6efc89f3603af05313fe.zip |
* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.
Fixes: debbugs:10855
Diffstat (limited to 'lisp/progmodes/hideshow.el')
-rw-r--r-- | lisp/progmodes/hideshow.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 104a8f96727..26db60ddbc2 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -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... |