From: Ted Zlatanov Date: Mon, 31 Oct 2011 22:11:23 +0000 (+0000) Subject: gnus-registry-enabled fixes to give default value. X-Git-Tag: emacs-pretest-24.0.92~242 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=614ce227f5c57c1a0ebd13c9a35212caaa62f797;p=emacs.git gnus-registry-enabled fixes to give default value. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 7519252f037..ef92bcef151 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,11 @@ +2011-10-31 Teodor Zlatanov + + * nnregistry.el: Remove unnecessary `gnus-registry-enabled' defvar. + * nnir.el: Ditto. + * nnmairix.el: Ditto. + + * gnus-registry.el (gnus-registry-enabled): Default to nil. + 2011-10-26 Stefan Monnier * message.el (message-completion-function): Make sure @@ -25,7 +33,7 @@ * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy. * nnmairix.el (gnus-registry-enabled): Ditto. -2011-10-17 Dave Abrahams +2011-10-17 Dave Abrahams (tiny change) * gnus-registry.el (gnus-registry-enabled): Add new variable. (Bug#9691) (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index 652e816e56a..d25b8b1d24b 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el @@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral." (const :tag "Always Install" t) (const :tag "Ask Me" ask))) -(defvar gnus-registry-enabled) +(defvar gnus-registry-enabled nil) (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning. diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 2d3c05864e8..13ad497b574 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -292,9 +292,6 @@ is `(valuefunc member)'." (autoload 'nnimap-make-thread-query "nnimap") (autoload 'gnus-registry-action "gnus-registry")) -;; Suppress byte-compiler warning `reference to free variable' -(defvar gnus-registry-enabled) - (nnoo-declare nnir) (nnoo-define-basics nnir) diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el index 1bf28c5d32f..74aea562fbb 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el @@ -605,9 +605,6 @@ Other back ends might or might not work.") ;; Silence byte-compiler. (autoload 'gnus-registry-get-id-key "gnus-registry") -;; Suppress byte-compiler warning `reference to free variable' -(defvar gnus-registry-enabled) - (deffoo nnmairix-request-set-mark (group actions &optional server) (when server (nnmairix-open-server server)) diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el index 75a640a428a..2001f8f2366 100644 --- a/lisp/gnus/nnregistry.el +++ b/lisp/gnus/nnregistry.el @@ -36,9 +36,6 @@ (nnoo-declare nnregistry) -;; Suppress byte-compiler warning `reference to free variable' -(defvar gnus-registry-enabled) - (deffoo nnregistry-server-opened (server) gnus-registry-enabled)