Function: js-fill-paragraph

js-fill-paragraph is an interactive and byte-compiled function defined in js.el.gz.

Signature

(js-fill-paragraph &optional JUSTIFY)

Documentation

Fill the paragraph for Javascript code.

Key Bindings

Aliases

js-c-fill-paragraph (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js-fill-paragraph (&optional justify)
  "Fill the paragraph for Javascript code."
  (interactive "*P")
  (let ((js--filling-paragraph t)
        (fill-paragraph-function #'c-fill-paragraph))
    (c-fill-paragraph justify)))