From: Dave Love Date: Mon, 6 Nov 2000 23:12:06 +0000 (+0000) Subject: 2000-10-07 15:42:59 ShengHuo ZHU X-Git-Tag: emacs-pretest-21.0.90~254 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b84c4d38e6184c84001fa45e1d1a049b3338b10;p=emacs.git 2000-10-07 15:42:59 ShengHuo ZHU * gnus-logic.el (gnus-advanced-string): Use "" if nil. --- diff --git a/lisp/gnus/gnus-logic.el b/lisp/gnus/gnus-logic.el index 56964ff9f46..de6ae648bc5 100644 --- a/lisp/gnus/gnus-logic.el +++ b/lisp/gnus/gnus-logic.el @@ -3,6 +3,7 @@ ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen +;; Maintainer: bugs@gnus.org ;; Keywords: news ;; This file is part of GNU Emacs. @@ -145,7 +146,7 @@ (let* ((type (or type 's)) (case-fold-search (not (eq (downcase (symbol-name type)) (symbol-name type)))) - (header (aref gnus-advanced-headers index))) + (header (or (aref gnus-advanced-headers index) ""))) (cond ((memq type '(r R regexp Regexp)) (string-match match header))