Function: tcl-auto-fill-mode

tcl-auto-fill-mode is an interactive and byte-compiled function defined in tcl.el.gz.

This command is obsolete since 26.1; Use auto-fill-mode with comment-auto-fill-only-comments.

Signature

(tcl-auto-fill-mode &optional ARG)

Documentation

Like auto-fill-mode, but sets comment-auto-fill-only-comments.

Probably introduced at or before Emacs version 26.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/tcl.el.gz
(defun tcl-auto-fill-mode (&optional arg)
  "Like `auto-fill-mode', but sets `comment-auto-fill-only-comments'."
  (declare
   (obsolete
    "Use `auto-fill-mode' with `comment-auto-fill-only-comments'." "26.1"))
  (interactive "P")
  (auto-fill-mode arg)
  (if auto-fill-function
      (setq-local comment-auto-fill-only-comments t)
    (kill-local-variable 'comment-auto-fill-only-comments)))