Function: evil-set-visual-newline-commands

evil-set-visual-newline-commands is a byte-compiled function defined in evil-vars.el.

Signature

(evil-set-visual-newline-commands VAR VALUE)

Documentation

Set the value of evil-visual-newline-commands.

Setting this variable changes the properties of the appropriate commands.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defun evil-set-visual-newline-commands (var value)
  "Set the value of `evil-visual-newline-commands'.
Setting this variable changes the properties of the appropriate
commands."
  (with-no-warnings
    (when (default-boundp var)
      (dolist (cmd (default-value var))
        (evil-set-command-property cmd :exclude-newline nil)))
    (set-default var value)
    (dolist (cmd (default-value var))
      (evil-set-command-property cmd :exclude-newline t))))