Function: artist-key-do-continuously-common
artist-key-do-continuously-common is a byte-compiled function defined
in artist.el.gz.
Signature
(artist-key-do-continuously-common)
Documentation
Common routine for updating current shape.
Aliases
artist-key-do-continously-common (obsolete since 30.1)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-key-do-continuously-common ()
"Common routine for updating current shape."
(let ((draw-how (artist-go-get-draw-how-from-symbol artist-curr-go))
(col (artist-current-column))
(row (artist-current-line)))
;; Depending on what we are currently drawing, call other routines
;; that knows how to do the job
;;
(cond ((or (eq draw-how 'artist-do-continuously)
;; Typo in Emacs 29 or earlier.
(eq draw-how 'artist-do-continously))
(artist-key-do-continuously-continuously col row))
((eq draw-how 'artist-do-poly)
(artist-key-do-continuously-poly col row))
((and (numberp draw-how) (= draw-how 1))
(artist-key-do-continuously-1point col row))
((and (numberp draw-how) (= draw-how 2))
(artist-key-do-continuously-2points col row))
(t (message "Drawing \"%s\"s is not yet implemented" draw-how)))
;; Now restore the old position
;;
(artist-move-to-xy col row)))