diff lisp/ido.el @ 72868:299c5f25649b

(ido-ignore-item-p): Allow any kind of functions in ignore lists. From Micha¸«³l Cadilhac.
author Kim F. Storm <storm@cua.dk>
date Thu, 14 Sep 2006 14:42:30 +0000
parents e8c7ac0523cb
children 7e2d2b8518f4 b5c13d1564a9
line wrap: on
line diff
--- a/lisp/ido.el	Thu Sep 14 13:12:15 2006 +0000
+++ b/lisp/ido.el	Thu Sep 14 14:42:30 2006 +0000
@@ -3618,7 +3618,7 @@
 		  ((stringp nextstr)
 		   (and (>= flen (setq slen (length nextstr)))
 			(string-equal (substring name (- flen slen)) nextstr)))
-		  ((fboundp nextstr) (funcall nextstr name))
+		  ((functionp nextstr) (funcall nextstr name))
 		  (t nil))
 		 (setq ignorep t
 		       ext-list nil
@@ -3628,7 +3628,7 @@
 	     (setq nextstr (car re-list))
 	     (if (cond
 		  ((stringp nextstr) (string-match nextstr name))
-		  ((fboundp nextstr) (funcall nextstr name))
+		  ((functionp nextstr) (funcall nextstr name))
 		  (t nil))
 		 (setq ignorep t
 		       re-list nil)