Function: quail-advice

quail-advice is an interactive and byte-compiled function defined in quail.el.gz.

Signature

(quail-advice ARGS)

Documentation

Advise users about the characters input by the current Quail package.

The argument is a parameterized event of the form:
   (quail-advice STRING)
where STRING is a string containing the input characters. If STRING has property advice and the value is a function, call it with one argument STRING.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/international/quail.el.gz
(defun quail-advice (args)
  "Advise users about the characters input by the current Quail package.
The argument is a parameterized event of the form:
   (quail-advice STRING)
where STRING is a string containing the input characters.
If STRING has property `advice' and the value is a function,
call it with one argument STRING."
  (interactive "e")
  (let* ((string (nth 1 args))
	 (func (get-text-property 0 'advice string)))
    (if (functionp func)
	(funcall func string))))