Function: quail-input-string-to-events

quail-input-string-to-events is a byte-compiled function defined in quail.el.gz.

Signature

(quail-input-string-to-events STR)

Documentation

Convert input string STR to a list of events.

If STR has advice text property, append the following special event:
(quail-advice STR)

Source Code

;; Defined in /usr/src/emacs/lisp/international/quail.el.gz
(defun quail-input-string-to-events (str)
  "Convert input string STR to a list of events.
If STR has `advice' text property, append the following special event:
\(quail-advice STR)"
  (let ((events (mapcar
		 (lambda (c)
		   (or
		    ;; Avoid "obsolete" warnings for translation-table-for-input.
		    (with-no-warnings
		      (and translation-table-for-input
			   (aref translation-table-for-input c)))
		    c))
		 str)))
    (if (or (get-text-property 0 'advice str)
	    (next-single-property-change 0 'advice str))
	(setq events
	      (nconc events (list (list 'quail-advice str)))))
    events))