(auth-source-netrc-parse): Accept a number as the port spec, too.
[gnus] / lisp / netrc.el
index 989470b..b04863b 100644 (file)
@@ -1,6 +1,5 @@
 ;;; netrc.el --- .netrc parsing functionality
-;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 1996-2011 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news
              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