Function: artist-toggle-rubber-banding
artist-toggle-rubber-banding is an interactive and byte-compiled
function defined in artist.el.gz.
Signature
(artist-toggle-rubber-banding &optional STATE)
Documentation
Toggle rubber-banding.
If optional argument STATE is positive, turn rubber-banding on.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-toggle-rubber-banding (&optional state)
"Toggle rubber-banding.
If optional argument STATE is positive, turn rubber-banding on."
(interactive)
(if artist-key-is-drawing
(error "Cannot toggle rubber-banding while drawing"))
(if (setq artist-rubber-banding
(if (null state) (not artist-rubber-banding)
(> (prefix-numeric-value state) 0)))
(message "Rubber-banding is now on")
(message "Rubber-banding is now off")))