[gnus git] branch master updated: =1= dgnushack.el (rot13-string): Fix the way to get the argument.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  8b3a692b73c226167bd1dc8af10031340ca6732a (commit)
      from  a1d4c9b50a674648a55828648184195e1378b54a (commit)


- Log -----------------------------------------------------------------
commit 8b3a692b73c226167bd1dc8af10031340ca6732a
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Jan 5 14:14:13 2011 +0000

    dgnushack.el (rot13-string): Fix the way to get the argument.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 586e706..b7ca995 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-05  Katsumi Yamaoka  <[email protected]>
+
+	* dgnushack.el (rot13-string): Fix the way to get the argument.
+
 2011-01-03  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* flow-fill.el (fill-flowed-encode): Do encoding citation-aware.
diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el
index 3e38fcc..38ff52d 100644
--- a/lisp/dgnushack.el
+++ b/lisp/dgnushack.el
@@ -201,10 +201,11 @@
 	  (error nil))
 	(defmacro rot13-string (string)
 	  "Return ROT13 encryption of STRING."
-	  `(with-temp-buffer
-	     (insert ,string)
+	  `(let ((string ,string))
+	     (with-temp-buffer
+	       (insert string)
 	     (translate-region (point-min) (point-max) ,rot13-display-table)
-	     (buffer-string))))
+	       (buffer-string)))))
     (if (and (emacs-version>= 21 5)
 	     (not (featurep 'sxemacs)))
 	(autoload 'setenv "process" nil t)

-----------------------------------------------------------------------
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    |    4 ++++
 lisp/dgnushack.el |    9 +++++----
 2 files changed, 9 insertions(+), 4 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.