Mercurial > hg > xemacs-beta
diff src/buffer.c @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 9f59509498e1 |
children | 585fb297b004 |
line wrap: on
line diff
--- a/src/buffer.c Mon Aug 13 09:24:19 2007 +0200 +++ b/src/buffer.c Mon Aug 13 09:25:29 2007 +0200 @@ -461,7 +461,7 @@ */ (filename)) { - /* This function can GC */ + /* This function can GC. GC checked 1997.04.06. */ REGISTER Lisp_Object tail, buf, tem; struct gcpro gcpro1; @@ -1245,6 +1245,10 @@ if (EQ (buf, Vecho_area_buffer)) return Qnil; + /* Or the special invisible internal prin1 buffer. */ + if (EQ (buf, Vprin1_to_string_buffer)) + return Qnil; + /* Query if the buffer is still modified. */ if (INTERACTIVE && !NILP (b->filename) && BUF_MODIFF (b) > BUF_SAVE_MODIFF (b)) @@ -2512,14 +2516,14 @@ DEFVAR_BUFFER_LOCAL ("buffer-file-coding-system", buffer_file_coding_system /* *Current coding system for the current buffer. -When the buffer is written out into a file, this coding system will -be used for the encoding. Automatically buffer-local when set in -any fashion. This is normally set automatically when a file is loaded -in based on the determined coding system of the file (assuming that -`buffer-file-coding-system-for-read' is set to `autodetect', which calls -for automatic determination of the file's coding system). Normally the -modeline indicates the current file coding system using its mnemonic -abbreviation. +When the buffer is written out into a file, this coding system will be +used for the encoding. Automatically buffer-local when set in any +fashion. This is normally set automatically when a file is loaded in +based on the determined coding system of the file (assuming that +`buffer-file-coding-system-for-read' is set to `automatic-conversion', +which calls for automatic determination of the file's coding system). +Normally the modeline indicates the current file coding system using +its mnemonic abbreviation. The default value for this variable (which is normally used for buffers without associated files) is also used when automatic