Commit 7cc45a35 authored by Dave Love's avatar Dave Love

(format-encode-run-method, format-decode-run-method): Fix previous change.

parent cd529916
......@@ -149,7 +149,7 @@ otherwise, it should be a Lisp function.
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 @@ If METHOD is a string, it is a shell command; otherwise, it should be
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment