changeset 97155:b4faea6c6c00

(filesets-cmd-isearch-getargs): Check if the variable `files' is bound to avoid warnings.
author Juri Linkov <juri@jurta.org>
date Thu, 31 Jul 2008 17:18:33 +0000
parents f239a0459b5c
children 0d4402806108
files lisp/filesets.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/filesets.el	Thu Jul 31 17:18:06 2008 +0000
+++ b/lisp/filesets.el	Thu Jul 31 17:18:33 2008 +0000
@@ -1688,7 +1688,7 @@
 
 (defun filesets-cmd-isearch-getargs ()
   "Get arguments for `multi-isearch-files' and `multi-isearch-files-regexp'."
-  (list files))
+  (and (boundp 'files) (list files)))
 
 (defun filesets-cmd-shell-command-getargs ()
   "Get arguments for `filesets-cmd-shell-command'."