[gnus git] branch master updated: n0-17-101-g17c65cf =1= (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  17c65cf24575f42d02f89f807375148e9a7af365 (commit)
      from  90c1f88e5357d61a732d6f78d3c9a0278d78f49e (commit)


- Log -----------------------------------------------------------------
commit 17c65cf24575f42d02f89f807375148e9a7af365
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Jun 30 02:24:06 2011 +0200

    (auth-source-netrc-saver): If the user says "don't ask again, save the choice via customize.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b95f36e..257b7e0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-30  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* auth-source.el (auth-source-netrc-saver): If the user says "don't ask
+	again, save the choice via customize.
+
 2011-06-29  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* message.el (message-send-mail-function): Add `sendmail-query-once'.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 146db11..3bbad49 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1373,9 +1373,10 @@ Respects `auth-source-save-behavior'.  Uses
                       (help-mode))))
               (?n (setq add ""
                         done t))
-              (?N (setq add ""
-                        done t
-                        auth-source-save-behavior nil))
+              (?N
+	       (setq add ""
+		     done t)
+	       (customize-save-variable 'auth-source-save-behavior nil))
               (?e (setq add (read-string "Line to add: " add)))
               (t nil)))
 

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog      |    5 +++++
 lisp/auth-source.el |    7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.