help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there any elisp functions to tell whether the cursor is in a comment


From: sunway
Subject: Is there any elisp functions to tell whether the cursor is in a comment block?
Date: Sat, 12 Jul 2008 22:06:04 -0700 (PDT)
User-agent: G2/1.0

for example, if the cursor is in a normal c code block, I want 'if '
to be expanded to 'if () {}', if it is in the comment block, I prefer
'if ' not be expanded.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]