From: MORIOKA Tomohiko Date: Tue, 11 Dec 2012 15:44:17 +0000 (+0900) Subject: (char-attribute-name<): Don't prefer `*foo' to `foo' and `->foo'. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3300b3fb1c54dff9d3ec1d0472c018ae7ca4215;p=chise%2Fxemacs-chise.git.1 (char-attribute-name<): Don't prefer `*foo' to `foo' and `->foo'. --- diff --git a/lisp/utf-2000/chise-subr.el b/lisp/utf-2000/chise-subr.el index 70e96d9..a9dce30 100644 --- a/lisp/utf-2000/chise-subr.el +++ b/lisp/utf-2000/chise-subr.el @@ -63,6 +63,17 @@ (defun char-attribute-name< (ka kb) "Return t if symbol KA is less than KB in feature-name sorting order." (cond + ((and (symbolp ka) + (eq (aref (symbol-name ka) 0) ?*)) + (cond ((and (symbolp kb) + (eq (aref (symbol-name kb) 0) ?*)) + (string< (symbol-name ka) + (symbol-name kb)) + )) + ) + ((and (symbolp kb) + (eq (aref (symbol-name kb) 0) ?*)) + t) ((eq '->denotational kb) t) ((eq '->subsumptive kb)