Copyright (C) 2000-2012 |
GNU Info (emacs)Comments in CComments in C Modes ------------------- C mode and related modes use a number of variables for controlling comment format. `c-comment-only-line-offset' Extra offset for line which contains only the start of a comment. It can be either an integer or a cons cell of the form `(NON-ANCHORED-OFFSET . ANCHORED-OFFSET)', where NON-ANCHORED-OFFSET is the amount of offset given to non-column-zero anchored comment-only lines, and ANCHORED-OFFSET is the amount of offset to give column-zero anchored comment-only lines. Just an integer as value is equivalent to `(VAL . 0)'. `c-comment-start-regexp' This buffer-local variable specifies how to recognize the start of a comment. `c-hanging-comment-ender-p' If this variable is `nil', `c-fill-paragraph' leaves the comment terminator of a block comment on a line by itself. The default value is `t', which puts the comment-end delimiter `*/' at the end of the last line of the comment text. `c-hanging-comment-starter-p' If this variable is `nil', `c-fill-paragraph' leaves the starting delimiter of a block comment on a line by itself. The default value is `t', which puts the comment-start delimiter `/*' at the beginning of the first line of the comment text. automatically generated by info2www version 1.2.2.9 |