projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3350c57
)
(nnmail-split-it): Don't compare ".*" and VALUE of each element of
author
yamaoka
<yamaoka>
Mon, 2 Aug 1999 02:04:51 +0000
(
02:04
+0000)
committer
yamaoka
<yamaoka>
Mon, 2 Aug 1999 02:04:51 +0000
(
02:04
+0000)
`nnmail-split-fancy' if the length of VALUE is less than 2.
lisp/nnmail.el
patch
|
blob
|
history
diff --git
a/lisp/nnmail.el
b/lisp/nnmail.el
index
7d98d8c
..
afd852a
100644
(file)
--- a/
lisp/nnmail.el
+++ b/
lisp/nnmail.el
@@
-1173,7
+1173,8
@@
See the documentation for the variable `nnmail-split-fancy' for documentation."
partial regexp)
(if (symbolp value)
(setq value (cdr (assq value nnmail-split-abbrev-alist))))
- (if (string= ".*" (substring value 0 2))
+ (if (and (>= (length value) 2)
+ (string= ".*" (substring value 0 2)))
(setq value (substring value 2)
partial ""))
(setq regexp (concat "^\\(\\("