Subject: [PATCH] Fix erc-track-visibility customize choice.
From: Julien Danjou <[email-masked]>
To: [email-masked]
Cc: Julien Danjou <[email-masked]>
Date: Mon, 7 Jun 2010 11:32:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

`active' does not seems like a valid symbol here, it's rather
`selected-visible'.

Signed-off-by: Julien Danjou <[email-masked]>
---
 lisp/erc/erc-track.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el
index 8d4f4c1..329ec5b 100644
--- a/lisp/erc/erc-track.el
+++ b/lisp/erc/erc-track.el
@@ -85,8 +85,8 @@ Activity means that there was no user input in the last 10 seconds."
   :type  '(choice (const :tag "All frames" t)
 		  (const :tag "All visible frames" visible)
 		  (const :tag "Only the selected frame" nil)
-		  (const :tag "Only the selected frame if it was active"
-			 active)))
+		  (const :tag "Only the selected frame if it is visible"
+			 selected-visible))
 
 (defcustom erc-track-exclude nil
   "A list targets (channel names or query targets) which should not be tracked."
-- 
1.7.1