From 8b84c4d38e6184c84001fa45e1d1a049b3338b10 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 6 Nov 2000 23:12:06 +0000 Subject: [PATCH] 2000-10-07 15:42:59 ShengHuo ZHU * gnus-logic.el (gnus-advanced-string): Use "" if nil. --- lisp/gnus/gnus-logic.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.5