]> git.eshelyaron.com Git - emacs.git/commitdiff
* auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
authorGabor Vida <gabor.v.vida@ericsson.com>
Thu, 7 Feb 2013 01:53:26 +0000 (20:53 -0500)
committerGlenn Morris <rgm@gnu.org>
Thu, 7 Feb 2013 01:53:26 +0000 (20:53 -0500)
in replacement text.

Fixes: debbugs:13637
lisp/gnus/ChangeLog
lisp/gnus/auth-source.el

index 0bf13ae4eb99dab5fdf4d4f53cf4540eba1643d0..760a5b15eea45d7af7390022c272b0c190a563e5 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-07  Gábor Vida  <gabor.v.vida@ericsson.com>  (tiny change)
+
+       * auth-source.el (auth-source-format-prompt): Don't get confused by
+       any "\" in replacement text.  (Bug#13637)
+
 2012-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-msg.el (gnus-summary-resend-message): Don't bug out on
index 6e6c74509f09c93dce1a6d9b4d4b1c4c1cda8f8c..ffc6a4b78af206d26ca42b8d0e701c91cf6a114a 100644 (file)
@@ -913,7 +913,7 @@ while \(:host t) would find all host entries."
       (when (and c v)
         (setq prompt (replace-regexp-in-string (format "%%%c" c)
                                                (format "%s" v)
-                                               prompt)))))
+                                               prompt nil t)))))
   prompt)
 
 (defun auth-source-ensure-strings (values)