diff options
| author | Michael Albinus | 2010-03-19 11:29:02 +0100 |
|---|---|---|
| committer | Michael Albinus | 2010-03-19 11:29:02 +0100 |
| commit | 7d1a916339218bdbd5654dc69f90a5d0ecdb80c0 (patch) | |
| tree | bdbc7412a3293af8aca7884f413540ed354d4ebb | |
| parent | a3ab37b334b5de7fc55423aff0d174b3edb52a81 (diff) | |
| download | emacs-7d1a916339218bdbd5654dc69f90a5d0ecdb80c0.tar.gz emacs-7d1a916339218bdbd5654dc69f90a5d0ecdb80c0.zip | |
* auth-source.el (netrc-machine-user-or-password): Autoload.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 8a3aee285d1..58d1c0dc8da 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-03-19 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * auth-source.el (netrc-machine-user-or-password): Autoload. | ||
| 4 | |||
| 1 | 2010-03-19 Glenn Morris <rgm@gnu.org> | 5 | 2010-03-19 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | Stop message.el from loading about 40 libraries it doesn't always need. | 7 | Stop message.el from loading about 40 libraries it doesn't always need. |
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 284e6e911bd..82c9ea8a44d 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | (require 'gnus-util) | 34 | (require 'gnus-util) |
| 35 | 35 | ||
| 36 | (eval-when-compile (require 'cl)) | 36 | (eval-when-compile (require 'cl)) |
| 37 | (eval-when-compile (require 'netrc)) | 37 | (autoload 'netrc-machine-user-or-password "netrc") |
| 38 | 38 | ||
| 39 | (defgroup auth-source nil | 39 | (defgroup auth-source nil |
| 40 | "Authentication sources." | 40 | "Authentication sources." |
| @@ -86,7 +86,7 @@ If the value is a function, debug messages are logged by calling | |||
| 86 | that function using the same arguments as `message'." | 86 | that function using the same arguments as `message'." |
| 87 | :group 'auth-source | 87 | :group 'auth-source |
| 88 | :version "23.1" ;; No Gnus | 88 | :version "23.1" ;; No Gnus |
| 89 | :type `(choice | 89 | :type `(choice |
| 90 | :tag "auth-source debugging mode" | 90 | :tag "auth-source debugging mode" |
| 91 | (const :tag "Log using `message' to the *Messages* buffer" t) | 91 | (const :tag "Log using `message' to the *Messages* buffer" t) |
| 92 | (function :tag "Function that takes arguments like `message'") | 92 | (function :tag "Function that takes arguments like `message'") |
| @@ -145,7 +145,7 @@ Each entry is the authentication type with optional properties." | |||
| 145 | ;; we also check the value | 145 | ;; we also check the value |
| 146 | (when auth-source-debug | 146 | (when auth-source-debug |
| 147 | (let ((logger (if (functionp auth-source-debug) | 147 | (let ((logger (if (functionp auth-source-debug) |
| 148 | auth-source-debug | 148 | auth-source-debug |
| 149 | 'message))) | 149 | 'message))) |
| 150 | (apply logger msg)))) | 150 | (apply logger msg)))) |
| 151 | 151 | ||