Function: erc-fill-wrap-cycle-visual-movement
erc-fill-wrap-cycle-visual-movement is an interactive and
byte-compiled function defined in erc-fill.el.gz.
Signature
(erc-fill-wrap-cycle-visual-movement ARG)
Documentation
Cycle through erc-fill-wrap-visual-keys styles ARG times.
Go from nil to t to non-input and back around, but set internal
state instead of mutating erc-fill-wrap-visual-keys. When ARG
is 0, reset to value of erc-fill-wrap-visual-keys.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-fill.el.gz
(defun erc-fill-wrap-cycle-visual-movement (arg)
"Cycle through `erc-fill-wrap-visual-keys' styles ARG times.
Go from nil to t to `non-input' and back around, but set internal
state instead of mutating `erc-fill-wrap-visual-keys'. When ARG
is 0, reset to value of `erc-fill-wrap-visual-keys'."
(interactive "^p")
(when (zerop arg)
(setq erc-fill--wrap-visual-keys erc-fill-wrap-visual-keys))
(while (not (zerop arg))
(cl-incf arg (- (abs arg)))
(setq erc-fill--wrap-visual-keys (pcase erc-fill--wrap-visual-keys
('nil t)
('t 'non-input)
('non-input nil))))
(message "erc-fill-wrap movement: %S" erc-fill--wrap-visual-keys))