Mercurial > hg > xemacs-beta
diff lisp/coding.el @ 4599:0347879667ed
Document the force-coding-system-equivalency macro in coding.el.
lisp/ChangeLog addition:
2009-02-04 Aidan Kehoe <kehoea@parhasard.net>
* coding.el (force-coding-system-equivalency):
Document this macro and the motivation for it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 04 Feb 2009 12:41:14 +0000 |
parents | 8891b0477058 |
children | e0a8715fdb1f |
line wrap: on
line diff
--- a/lisp/coding.el Wed Feb 04 12:35:45 2009 +0000 +++ b/lisp/coding.el Wed Feb 04 12:41:14 2009 +0000 @@ -246,6 +246,14 @@ ;;; Make certain variables equivalent to coding-system aliases: (macrolet ((force-coding-system-equivalency (&rest details-list) + "Certain coding-system aliases should correspond to certain variables. + +This macro implements that correspondence. This gives us compatiblity with +other Mule implementations (which don't use the coding system aliases), and +a certain amount of freedom of implementation for XEmacs; using a variable's +value in C for every file operation or write to a terminal in C is probably +an improvement on the hash-table lookup(s) necessary for a coding system +alias, though we haven't profiled this yet to see if it makes a difference." (loop for (alias variable-symbol) in details-list with result = (list 'progn)