diff options
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r-- | lisp/newcomment.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 6874da7b4e5..6b6f2d0b0e8 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -211,6 +211,10 @@ This is obsolete because you might as well use \\[newline-and-indent]." ;;;###autoload (defun comment-normalize-vars (&optional noerror) + "Check and setup the variables needed by other commenting functions. +Functions autoloaded from newcomment.el, being entry points, should call +this function before any other, so the rest of the code can assume that +the variables are properly set." (if (not comment-start) (unless noerror (set (make-local-variable 'comment-start) |