diff lisp/code-process.el @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
line wrap: on
line diff
--- a/lisp/code-process.el	Mon Aug 13 11:18:12 2007 +0200
+++ b/lisp/code-process.el	Mon Aug 13 11:19:21 2007 +0200
@@ -125,6 +125,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))))