[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-patches] Don't choose nonexistent backends in `bongo-backend-for-
From: |
Daniel Brockman |
Subject: |
[bongo-patches] Don't choose nonexistent backends in `bongo-backend-for-file' |
Date: |
Mon, 30 Apr 2007 16:33:31 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Don't choose nonexistent backends in `bongo-backend-for-file'.
diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el 2007-04-30 16:33:23.000000000 +0200
+++ new-bongo/bongo.el 2007-04-30 16:33:23.000000000 +0200
@@ -4619,7 +4619,8 @@
(let ((backend-name nil))
(let ((matchers (bongo-backend-matchers)))
(while (and matchers (null backend-name))
- (if (bongo-file-name-matches-p file-name (cdar matchers))
+ (if (and (bongo-file-name-matches-p file-name (cdar matchers))
+ (bongo-backend (caar matchers)))
(setq backend-name (caar matchers))
(setq matchers (cdr matchers)))))
(unless (eq backend-name 'ignore)
--
Daniel Brockman <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bongo-patches] Don't choose nonexistent backends in `bongo-backend-for-file',
Daniel Brockman <=