diff lisp/code-process.el @ 363:972bbb6d6ca2 r21-1-11

Import from CVS: tag r21-1-11
author cvs
date Mon, 13 Aug 2007 10:59:28 +0200
parents 7df0dd720c89
children cc15677e0335
line wrap: on
line diff
--- a/lisp/code-process.el	Mon Aug 13 10:58:41 2007 +0200
+++ b/lisp/code-process.el	Mon Aug 13 10:59:28 2007 +0200
@@ -135,6 +135,9 @@
 	    (cond ((consp ret)
 		   (setq cs-r (car ret)
 			 cs-w (cdr ret)))
+		  ((null ret)
+		   (setq cs-r buffer-file-coding-system
+			 cs-w buffer-file-coding-system))
 		  ((find-coding-system ret)
 		   (setq cs-r ret
 			 cs-w ret))))