aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-03-03 03:57:32 +0000
committerStefan Monnier2008-03-03 03:57:32 +0000
commitef1b088ac607d88c519cbfb3b0a4bd76214605a3 (patch)
treecc9a32450722f0d51965d4d0bed20c93beff5932
parentdacb905a073798560b3c17a99b9cf9bbc4e1f954 (diff)
downloademacs-ef1b088ac607d88c519cbfb3b0a4bd76214605a3.tar.gz
emacs-ef1b088ac607d88c519cbfb3b0a4bd76214605a3.zip
(gnus-debug): Use mm-string-to-multibyte.
-rw-r--r--lisp/gnus/ChangeLog1
-rw-r--r--lisp/gnus/gnus-msg.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index a6070ffc1c7..392833a2cba 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,6 @@
12008-03-03 Stefan Monnier <monnier@iro.umontreal.ca> 12008-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * gnus-msg.el (gnus-debug):
3 * gnus-group.el (gnus-update-group-mark-positions): 4 * gnus-group.el (gnus-update-group-mark-positions):
4 Use mm-string-to-multibyte. 5 Use mm-string-to-multibyte.
5 6
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 0a2ee2d09be..9031790eec8 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -1562,7 +1562,7 @@ The source file has to be in the Emacs load path."
1562 ;; Remove any control chars - they seem to cause trouble for some 1562 ;; Remove any control chars - they seem to cause trouble for some
1563 ;; mailers. (Byte-compiled output from the stuff above.) 1563 ;; mailers. (Byte-compiled output from the stuff above.)
1564 (goto-char point) 1564 (goto-char point)
1565 (while (re-search-forward (mm-string-as-multibyte 1565 (while (re-search-forward (mm-string-to-multibyte
1566 "[\000-\010\013-\037\200-\237]") nil t) 1566 "[\000-\010\013-\037\200-\237]") nil t)
1567 (replace-match (format "\\%03o" (string-to-char (match-string 0))) 1567 (replace-match (format "\\%03o" (string-to-char (match-string 0)))
1568 t t)))) 1568 t t))))
@@ -2000,5 +2000,5 @@ this is a reply."
2000 2000
2001(provide 'gnus-msg) 2001(provide 'gnus-msg)
2002 2002
2003;;; arch-tag: 9f22b2f5-1c0a-49de-916e-4c88e984852b 2003;; arch-tag: 9f22b2f5-1c0a-49de-916e-4c88e984852b
2004;;; gnus-msg.el ends here 2004;;; gnus-msg.el ends here