changeset 33268:88bece18cf0d

2000-10-07 15:42:59 ShengHuo ZHU <zsh@cs.rochester.edu> * gnus-logic.el (gnus-advanced-string): Use "" if nil.
author Dave Love <fx@gnu.org>
date Mon, 06 Nov 2000 23:12:06 +0000
parents 82ce08dfc68e
children d551fdccd8bc
files lisp/gnus/gnus-logic.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-logic.el	Mon Nov 06 22:52:20 2000 +0000
+++ b/lisp/gnus/gnus-logic.el	Mon Nov 06 23:12:06 2000 +0000
@@ -3,6 +3,7 @@
 ;;        Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
+;; 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))