From: Juri Linkov Date: Thu, 31 Jul 2008 17:18:33 +0000 (+0000) Subject: (filesets-cmd-isearch-getargs): Check if the X-Git-Tag: emacs-pretest-23.0.90~3757 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03d3db39f630bbdf393ce8219da35a0efa3bb16b;p=emacs.git (filesets-cmd-isearch-getargs): Check if the variable `files' is bound to avoid warnings. --- 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'."