Don't always require newcomment.
commit71eb63089686581963cd7a34aa39f7a901cff82e
authorRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 2004 02:57:47 +0000 (25 02:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 2004 02:57:47 +0000 (25 02:57 +0000)
treef0d3f0dd39a18f412f0fcbd0e4d1e634c02e6917
parentdbc165ffe2a646002ed4389e41d0d8310367fd4a
Don't always require newcomment.
(imenu--generic-function): Call comment-normalize-vars
if we have a comment syntax.
Exit the loop if REGEXP matches the null string.
Test comment-start as well as comment-start-skip
when deciding whether to check for comments.
lisp/imenu.el