summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-logic.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-11-06 23:12:06 +0000
committerDave Love <fx@gnu.org>2000-11-06 23:12:06 +0000
commit8b84c4d38e6184c84001fa45e1d1a049b3338b10 (patch)
tree8c585a86de3c870fa6e7f2f63c5ebfc627ef14e6 /lisp/gnus/gnus-logic.el
parent6a584a182c653b40319fc34cbd3e471d67227071 (diff)
2000-10-07 15:42:59 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-logic.el (gnus-advanced-string): Use "" if nil.
Diffstat (limited to 'lisp/gnus/gnus-logic.el')
-rw-r--r--lisp/gnus/gnus-logic.el3
1 files changed, 2 insertions, 1 deletions
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 <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))