Commit 7676efad authored by Ted Zlatanov's avatar Ted Zlatanov Committed by Katsumi Yamaoka
Browse files

netrc.el (netrc-parse): Remove encrypt.el mentions.

parent d8ec441e
2010-09-23 Teodor Zlatanov <>
* net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2010-09-22 Dan Christensen <>
* calendar/time-date.el (date-to-time): Try using parse-time-string
......@@ -34,14 +34,10 @@
;;; .netrc and .authinfo rc parsing
;; use encrypt if loaded (encrypt-file-alist has to be set as well)
(autoload 'encrypt-find-model "encrypt")
(autoload 'encrypt-insert-file-contents "encrypt")
(defalias 'netrc-point-at-eol
(if (fboundp 'point-at-eol)
(defvar encrypt-file-alist)
;; This is unnecessary in the compiled version as it is a macro.
(if (fboundp 'bound-and-true-p)
......@@ -74,12 +70,8 @@
(let ((tokens '("machine" "default" "login"
"password" "account" "macdef" "force"
(encryption-model (when (netrc-bound-and-true-p encrypt-file-alist)
(encrypt-find-model file)))
alist elem result pair)
(if encryption-model
(encrypt-insert-file-contents file encryption-model)
(insert-file-contents file))
(insert-file-contents file)
(goto-char (point-min))
;; Go through the file, line by line.
(while (not (eobp))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment