# HG changeset patch # User Richard M. Stallman # Date 1128457678 0 # Node ID fca34be2db31bea0a1ba341402bac6d610b34db2 # Parent 5159ee08b219fed53a12f7ede1465b994e86ddd5 (iswitchb-buffer-ignore): Label it risky. (iswitchb-ignore-buffername-p): Use `functionp' instead of `fboundp' in order to allow for anonymous functions. diff -r 5159ee08b219 -r fca34be2db31 lisp/iswitchb.el --- a/lisp/iswitchb.el Tue Oct 04 20:26:13 2005 +0000 +++ b/lisp/iswitchb.el Tue Oct 04 20:27:58 2005 +0000 @@ -293,6 +293,7 @@ example functions that filter buffernames." :type '(repeat (choice regexp function)) :group 'iswitchb) +(put 'iswitchb-buffer-ignore 'risky-local-variable t) (defcustom iswitchb-max-to-show nil "*If non-nil, limit the number of names shown in the minibuffer. @@ -942,7 +943,7 @@ (progn (setq ignorep t) (setq re-list nil)))) - ((fboundp nextstr) + ((functionp nextstr) (if (funcall nextstr bufname) (progn (setq ignorep t)