Function: strokes-global-set-stroke-string
strokes-global-set-stroke-string is an interactive and byte-compiled
function defined in strokes.el.gz.
Signature
(strokes-global-set-stroke-string STROKE STRING)
Documentation
Interactively give STROKE the global binding as STRING.
Works just like global-set-key, except for strokes. STRING
is a string to be inserted by the stroke. STROKE is a list of
sampled positions on the stroke grid as described in the
documentation for the strokes-define-stroke function.
Compare strokes-global-set-stroke.
Probably introduced at or before Emacs version 22.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/strokes.el.gz
(defun strokes-global-set-stroke-string (stroke string)
"Interactively give STROKE the global binding as STRING.
Works just like `global-set-key', except for strokes. STRING
is a string to be inserted by the stroke. STROKE is a list of
sampled positions on the stroke grid as described in the
documentation for the `strokes-define-stroke' function.
Compare `strokes-global-set-stroke'."
(interactive
(list
(and (or strokes-mode (strokes-mode t))
(strokes-read-complex-stroke
"Draw with mouse button 1 (or 2). End with button 3..."))
(read-string "String to map stroke to: ")))
(strokes-define-stroke strokes-global-map stroke string))