diff options
Diffstat (limited to 'lisp/cedet/semantic/doc.el')
-rw-r--r-- | lisp/cedet/semantic/doc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/doc.el b/lisp/cedet/semantic/doc.el index c8a3c12e1b2..aca01bd9830 100644 --- a/lisp/cedet/semantic/doc.el +++ b/lisp/cedet/semantic/doc.el @@ -78,7 +78,8 @@ just the lexical token and not the string." (start (if starttag (semantic-tag-end starttag) (point-min)))) - (when (re-search-backward comment-start-skip start t) + (when (and comment-start-skip + (re-search-backward comment-start-skip start t)) ;; We found a comment that doesn't belong to the body ;; of a function. (semantic-doc-snarf-comment-for-tag nosnarf))) |