File: newcomment.el.html
This library contains functions and variables for commenting and uncommenting source code.
Prior to calling any comment-* function, you should ensure that
comment-normalize-vars is first called to set up the appropriate
variables; except for the comment-* commands, which call
comment-normalize-vars automatically as a subroutine.
Defined variables (24)
comment-add | How many more comment chars should be inserted by ‘comment-region’. |
comment-auto-fill-only-comments | Non-nil means to only auto-fill inside comments. |
comment-column | Column to indent right-margin comments to. |
comment-combine-change-calls | If non-nil (the default), use ‘combine-change-calls’ around |
comment-continue | Continuation string to insert for multiline comments. |
comment-empty-lines | If nil, ‘comment-region’ does not comment out empty lines. |
comment-end | String to insert to end a new comment. |
comment-end-skip | Regexp to match the end of a comment plus everything back to its body. |
comment-fill-column | Column to use for ‘comment-indent’. If nil, use ‘fill-column’ instead. |
comment-indent-function | Function to compute desired indentation for a comment. |
comment-inline-offset | Inline comments have to be preceded by at least this many spaces. |
comment-insert-comment-function | Function to insert a comment when a line doesn’t contain one. |
comment-multi-line | Non-nil means ‘comment-indent-new-line’ continues comments. |
comment-padding | Padding string that ‘comment-region’ puts between comment chars and text. |
comment-quote-nested | Non-nil if nested comments should be quoted. |
comment-quote-nested-function | Function to quote nested comments in a region. |
comment-region-function | Function to comment a region. |
comment-start | String to insert to start a new comment, or nil if no comment syntax. |
comment-start-skip | Regexp to match the start of a comment plus everything up to its body. |
comment-style | Style to be used for ‘comment-region’. |
comment-styles | Comment region style definitions. |
comment-use-global-state | Non-nil means that the global syntactic context is used. |
comment-use-syntax | Non-nil if syntax-tables can be used instead of regexps. |
uncomment-region-function | Function to uncomment a region. |