diff options
| author | Karoly Lorentey | 2003-12-29 13:59:23 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2003-12-29 13:59:23 +0000 |
| commit | 096d4be33fc8bd54c363d05fff24f9f029acbf0a (patch) | |
| tree | faa3777d2d5975b644784640ff5db7682f815a94 /src | |
| parent | b2af72d2f0da11c271cac6fc823053d0018068b2 (diff) | |
| parent | c4383667201d2a2fa071c380caea36df2219261f (diff) | |
| download | emacs-096d4be33fc8bd54c363d05fff24f9f029acbf0a.tar.gz emacs-096d4be33fc8bd54c363d05fff24f9f029acbf0a.zip | |
Merged in changes from CVS head
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-4
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-22
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/buffer.c | 11 | ||||
| -rw-r--r-- | src/coding.c | 4 |
3 files changed, 12 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 53cc3b8ad2f..f471cc99230 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * coding.c (Fcheck_coding_system): Doc fix. | ||
| 4 | |||
| 1 | 2003-12-28 Kim F. Storm <storm@cua.dk> | 5 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
| 2 | 6 | ||
| 3 | * Makefile.in (eval.o): Depend on dispextern.h. | 7 | * Makefile.in (eval.o): Depend on dispextern.h. |
diff --git a/src/buffer.c b/src/buffer.c index e41d114eaa3..533e2c9c506 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -89,10 +89,6 @@ static Lisp_Object Vbuffer_defaults; | |||
| 89 | If a slot is -2, then there is no DEFVAR_PER_BUFFER for it, | 89 | If a slot is -2, then there is no DEFVAR_PER_BUFFER for it, |
| 90 | but there is a default value which is copied into each buffer. | 90 | but there is a default value which is copied into each buffer. |
| 91 | 91 | ||
| 92 | If a slot in this structure is negative, then even though there may | ||
| 93 | be a DEFVAR_PER_BUFFER for the slot, there is no default value for it; | ||
| 94 | and the corresponding slot in buffer_defaults is not used. | ||
| 95 | |||
| 96 | If a slot in this structure corresponding to a DEFVAR_PER_BUFFER is | 92 | If a slot in this structure corresponding to a DEFVAR_PER_BUFFER is |
| 97 | zero, that is a bug */ | 93 | zero, that is a bug */ |
| 98 | 94 | ||
| @@ -1202,6 +1198,10 @@ If BUFFER is omitted or nil, some interesting buffer is returned. */) | |||
| 1202 | buf = Fcdr (XCAR (tail)); | 1198 | buf = Fcdr (XCAR (tail)); |
| 1203 | if (EQ (buf, buffer)) | 1199 | if (EQ (buf, buffer)) |
| 1204 | continue; | 1200 | continue; |
| 1201 | if (NILP (buf)) | ||
| 1202 | continue; | ||
| 1203 | if (NILP (XBUFFER (buf)->name)) | ||
| 1204 | continue; | ||
| 1205 | if (SREF (XBUFFER (buf)->name, 0) == ' ') | 1205 | if (SREF (XBUFFER (buf)->name, 0) == ' ') |
| 1206 | continue; | 1206 | continue; |
| 1207 | /* If the selected frame has a buffer_predicate, | 1207 | /* If the selected frame has a buffer_predicate, |
| @@ -1429,7 +1429,8 @@ with SIGHUP. */) | |||
| 1429 | if (STRINGP (b->auto_save_file_name) | 1429 | if (STRINGP (b->auto_save_file_name) |
| 1430 | && b->auto_save_modified != 0 | 1430 | && b->auto_save_modified != 0 |
| 1431 | && BUF_SAVE_MODIFF (b) < b->auto_save_modified | 1431 | && BUF_SAVE_MODIFF (b) < b->auto_save_modified |
| 1432 | && BUF_SAVE_MODIFF (b) < BUF_MODIFF (b)) | 1432 | && BUF_SAVE_MODIFF (b) < BUF_MODIFF (b) |
| 1433 | && NILP (Fsymbol_value (intern ("auto-save-visited-file-name")))) | ||
| 1433 | { | 1434 | { |
| 1434 | Lisp_Object tem; | 1435 | Lisp_Object tem; |
| 1435 | tem = Fsymbol_value (intern ("delete-auto-save-files")); | 1436 | tem = Fsymbol_value (intern ("delete-auto-save-files")); |
diff --git a/src/coding.c b/src/coding.c index 3f11c6f41fb..d9620b90722 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6385,8 +6385,8 @@ DEFUN ("check-coding-system", Fcheck_coding_system, Scheck_coding_system, | |||
| 6385 | 1, 1, 0, | 6385 | 1, 1, 0, |
| 6386 | doc: /* Check validity of CODING-SYSTEM. | 6386 | doc: /* Check validity of CODING-SYSTEM. |
| 6387 | If valid, return CODING-SYSTEM, else signal a `coding-system-error' error. | 6387 | If valid, return CODING-SYSTEM, else signal a `coding-system-error' error. |
| 6388 | It is valid if it is a symbol with a non-nil `coding-system' property. | 6388 | It is valid if it is nil or a symbol with a non-nil `coding-system' property. |
| 6389 | The value of property should be a vector of length 5. */) | 6389 | The value of this property should be a vector of length 5. */) |
| 6390 | (coding_system) | 6390 | (coding_system) |
| 6391 | Lisp_Object coding_system; | 6391 | Lisp_Object coding_system; |
| 6392 | { | 6392 | { |