From 03d3db39f630bbdf393ce8219da35a0efa3bb16b Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 31 Jul 2008 17:18:33 +0000 Subject: [PATCH] (filesets-cmd-isearch-getargs): Check if the variable `files' is bound to avoid warnings. --- lisp/filesets.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/filesets.el b/lisp/filesets.el index a8d70df36d5..b3b021d5695 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el @@ -1688,7 +1688,7 @@ Replace or <> with filename." (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'." -- 2.39.2