changeset 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 b884f6f7657d
children b283b19ae4cb
files lisp/ido.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)