summaryrefslogtreecommitdiff
path: root/lisp/net/netrc.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2011-02-21 13:29:15 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2011-02-21 13:29:15 +0000
commit06b840e0d96538cfa879eb524c9b030988f8e7c5 (patch)
tree71af63198d576f40695701f8b2f88f52170459fb /lisp/net/netrc.el
parent6d7132563c23774dddcd825797a29ce7ae94253a (diff)
downloademacs-06b840e0d96538cfa879eb524c9b030988f8e7c5.tar.gz
Merge changes made in Gnus trunk.
gnus.texi (Window Layout): Document layout names. nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the given method as in the group name if we're using an extended method. (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE command, if we're using that, instead of waiting for the beginning. gnus-start.el (gnus-get-unread-articles): Extend the methods so that we're sure to get unique server names, and we don't output two async commands in the same buffer. This fixes an NNTP hang for some users. netrc.el (netrc-parse): Comment fix. gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the summary buffer before reading going to the next buffer. This avoids putting the point in the group buffer if you `C-g' the command. auth-source.el (auth-source-netrc-parse): Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable. nnfolder.el (copyright-update): Define for the compiler. auth-source.el (auth-source-search): Fix unbound variable.
Diffstat (limited to 'lisp/net/netrc.el')
-rw-r--r--lisp/net/netrc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/netrc.el b/lisp/net/netrc.el
index 59e9eab5fc3..b04863b5fc0 100644
--- a/lisp/net/netrc.el
+++ b/lisp/net/netrc.el
@@ -63,10 +63,10 @@
alist elem result pair)
(if (and netrc-cache
(equal (car netrc-cache) (nth 5 (file-attributes file))))
- ;; Store the contents of the file heavily encrypted in memory.
(insert (base64-decode-string (rot13-string (cdr netrc-cache))))
(insert-file-contents file)
(when (string-match "\\.gpg\\'" file)
+ ;; Store the contents of the file heavily encrypted in memory.
(setq netrc-cache (cons (nth 5 (file-attributes file))
(rot13-string
(base64-encode-string