Function: robin-modify-package
robin-modify-package is an autoloaded and byte-compiled function
defined in robin.el.gz.
Signature
(robin-modify-package NAME INPUT OUTPUT)
Documentation
Change a rule in an already defined robin package.
NAME is the string specifying a robin package. INPUT is a string that specifies the input pattern. OUTPUT is either a character or a string to be generated.
Probably introduced at or before Emacs version 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/international/robin.el.gz
;;;###autoload
(defun robin-modify-package (name input output)
"Change a rule in an already defined robin package.
NAME is the string specifying a robin package.
INPUT is a string that specifies the input pattern.
OUTPUT is either a character or a string to be generated."
(let ((tree (assoc name robin-package-alist))
docstring)
(if (not tree)
(error "No such robin package")
(setq docstring (cadr tree))
(setcar (cdr tree) "")
(robin-add-rule name tree input output)
(setcar (cdr tree) docstring)
(if (characterp output)
(put-char-code-property output (intern name) input))))
output)