changeset 24347:eb03024d18fc

(format-encode-run-method, format-decode-run-method): Fix previous change.
author Dave Love <fx@gnu.org>
date Thu, 18 Feb 1999 15:46:31 +0000
parents 68d26067bb74
children 9365b6b93858
files lisp/format.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/format.el	Thu Feb 18 13:11:50 1999 +0000
+++ b/lisp/format.el	Thu Feb 18 15:46:31 1999 +0000
@@ -149,7 +149,7 @@
 BUFFER should be the buffer that the output originally came from."
   (if (stringp method)
       (let ((error-buff (get-buffer-create "*Format Errors*"))
-	    (coding-system-for-write 'no-conversion)
+	    (coding-system-for-read 'no-conversion)
 	    format-alist)
 	(with-current-buffer error-buff
 	  (widen)
@@ -170,7 +170,7 @@
 a Lisp function.  Decoding is done for the given BUFFER."
   (if (stringp method)
       (let ((error-buff (get-buffer-create "*Format Errors*"))
-	    (coding-system-for-read 'no-conversion) ; like jka-compr
+	    (coding-system-for-write 'no-conversion)
 	    format-alist)
 	(with-current-buffer error-buff
 	  (widen)