From 9ba573cb254956dba87b43bf9a668641690ab4a0 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 25 Mar 2005 01:12:28 +0000 Subject: [PATCH] (ideographic-structure-member): Add simplified checking. --- ids-find.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ids-find.el b/ids-find.el index edcac5e..b777081 100644 --- a/ids-find.el +++ b/ids-find.el @@ -1,6 +1,6 @@ ;;; ids-find.el --- search utility based on Ideographic-structures -;; Copyright (C) 2002,2003 MORIOKA Tomohiko +;; Copyright (C) 2002,2003,2005 MORIOKA Tomohiko ;; Author: MORIOKA Tomohiko ;; Keywords: Kanji, Ideographs, search, IDS, CHISE, UCS, Unicode @@ -60,7 +60,8 @@ ;;;###autoload (defun ideographic-structure-member (component structure) "Return non-nil if COMPONENT is included in STRUCTURE." - (or (progn + (or (memq component structure) + (progn (setq structure (cdr structure)) (ideographic-structure-member-compare-components component (car structure))) -- 1.7.10.4