diff options
| -rw-r--r-- | lisp/gnus/gnus-score.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el index 0623d1bd8f1..91035d89f2e 100644 --- a/lisp/gnus/gnus-score.el +++ b/lisp/gnus/gnus-score.el | |||
| @@ -2586,13 +2586,11 @@ GROUP using BNews sys file syntax." | |||
| 2586 | (replace-match ".*" t t)) | 2586 | (replace-match ".*" t t)) |
| 2587 | (goto-char (point-min)) | 2587 | (goto-char (point-min)) |
| 2588 | ;; Deal with "not."s. | 2588 | ;; Deal with "not."s. |
| 2589 | (if (looking-at "not.") | 2589 | (setq not-match (looking-at "not.")) |
| 2590 | (progn | 2590 | (setq regexp |
| 2591 | (setq not-match t) | 2591 | (concat "^" (buffer-substring (+ (point-min) (if not-match 4 0)) |
| 2592 | (setq regexp | 2592 | (point-max)) |
| 2593 | (concat "^" (buffer-substring 5 (point-max)) "$"))) | 2593 | "$")) |
| 2594 | (setq regexp (concat "^" (buffer-substring 1 (point-max)) "$")) | ||
| 2595 | (setq not-match nil)) | ||
| 2596 | ;; Finally - if this resulting regexp matches the group name, | 2594 | ;; Finally - if this resulting regexp matches the group name, |
| 2597 | ;; we add this score file to the list of score files | 2595 | ;; we add this score file to the list of score files |
| 2598 | ;; applicable to this group. | 2596 | ;; applicable to this group. |