I tried running (forward-comment -1)
by eval command, when the point is actually in the middle of a comment. Like forward-word (or) forward-line, i expected it move to the beginning of the comment & then to the previous comment etc...
But, the point is not moving at all..
Like, my javascript snippet looks like,
/* this is a dummy comment
this is additional(^) comment
this is more additional comment*/
My cursor is on the second line denoted by caret symbol and then i run, (forward-comment -1)
and i expect the point to move to the comment's beginning. But (point)
has not changed at all.
Note: This behavior is noticed in elisp mode as well with semicolon-ed comments.