Variable: comment-region-function

comment-region-function is a variable defined in newcomment.el.gz.

Value

comment-region-default

Documentation

Function to comment a region.

Its args are the same as those of comment-region, but BEG and END are guaranteed to be correctly ordered. It is called within save-excursion.

Applicable at least in modes for languages like fixed-format Fortran where comments always start in column zero.

Source Code

;; Defined in /usr/src/emacs/lisp/newcomment.el.gz
(defvar comment-region-function 'comment-region-default
  "Function to comment a region.
Its args are the same as those of `comment-region', but BEG and END are
guaranteed to be correctly ordered.  It is called within `save-excursion'.

Applicable at least in modes for languages like fixed-format Fortran where
comments always start in column zero.")