X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fideograph-util.el;h=b051ead70def4805e54a44abf41869d7877b0ab5;hb=9dab7627f5aa4b82bc092df9dacb1c401ced0e5e;hp=2133b1f568fcb7fe044dcd8f035a9dc9950eb92e;hpb=bfa8ce714c0b70ec87653e7d96662c7a82c91dad;p=chise%2Fxemacs-chise.git- diff --git a/lisp/utf-2000/ideograph-util.el b/lisp/utf-2000/ideograph-util.el index 2133b1f..b051ead 100644 --- a/lisp/utf-2000/ideograph-util.el +++ b/lisp/utf-2000/ideograph-util.el @@ -158,18 +158,22 @@ nil) (t (< (car (cdr ra))(car (cdr rb)))))) (t (< (car ra)(car rb))))) - ((setq ra (get-char-attribute a 'ucs)) - (cond - ((setq rb (get-char-attribute b 'ucs)) - (< ra rb)))) - (t - (cond - ((setq ra (char-ideograph-strokes a)) - (cond ((setq rb (char-ideograph-strokes b)) - (cond ((= ra rb) - (not (char-ideograph-strokes b))) - ((< ra rb)))))) - ))))))) + (t))) + ((or (get-char-attribute b 'morohashi-daikanwa) + (get-char-attribute b 'non-morohashi)) + nil) + ((setq ra (get-char-attribute a 'ucs)) + (cond + ((setq rb (get-char-attribute b 'ucs)) + (< ra rb)))) + (t + (cond + ((setq ra (char-ideograph-strokes a)) + (cond ((setq rb (char-ideograph-strokes b)) + (cond ((= ra rb) + (not (char-ideograph-strokes b))) + ((< ra rb)))))) + ))))) (defun insert-ideograph-radical-char-data (radical) (let ((chars