diff options
| author | David Kastrup | 2013-07-06 12:49:38 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2013-07-06 12:49:38 +0000 |
| commit | fa7f427c322d256409104e808036ed21159cc27a (patch) | |
| tree | 9086923b51a1f2cda6f77afd36314310e79e214c | |
| parent | 3504a4beb8a2ca478edf1e007976abf85c7dc91f (diff) | |
| download | emacs-fa7f427c322d256409104e808036ed21159cc27a.tar.gz emacs-fa7f427c322d256409104e808036ed21159cc27a.zip | |
lisp/gnus/auth-source.el (auth-source-netrc-parse-one): Allow empty strings in authinfo file again (important for blank passwords). This had been broken with 2013-06-15 change
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 63c63af3399..34eb28f0965 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-07-05 David Kastrup <dak@gnu.org> | ||
| 2 | |||
| 3 | * auth-source.el (auth-source-netrc-parse-one): Allow empty strings in | ||
| 4 | authinfo file again (important for blank passwords). This had been | ||
| 5 | broken with 2013-06-15 change. | ||
| 6 | |||
| 1 | 2013-07-03 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2013-07-03 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): | 9 | * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): |
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 8cef741cda2..54429b5cfda 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -1048,8 +1048,8 @@ Note that the MAX parameter is used so we can exit the parse early." | |||
| 1048 | "Read one thing from the current buffer." | 1048 | "Read one thing from the current buffer." |
| 1049 | (auth-source-netrc-parse-next-interesting) | 1049 | (auth-source-netrc-parse-next-interesting) |
| 1050 | 1050 | ||
| 1051 | (when (or (looking-at "'\\([^']+\\)'") | 1051 | (when (or (looking-at "'\\([^']*\\)'") |
| 1052 | (looking-at "\"\\([^\"]+\\)\"") | 1052 | (looking-at "\"\\([^\"]*\\)\"") |
| 1053 | (looking-at "\\([^ \t\n]+\\)")) | 1053 | (looking-at "\\([^ \t\n]+\\)")) |
| 1054 | (forward-char (length (match-string 0))) | 1054 | (forward-char (length (match-string 0))) |
| 1055 | (auth-source-netrc-parse-next-interesting) | 1055 | (auth-source-netrc-parse-next-interesting) |