summaryrefslogtreecommitdiff
path: root/src/insdel.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2000-03-30 09:56:31 +0000
committerKen Raeburn <raeburn@raeburn.org>2000-03-30 09:56:31 +0000
commit826f42828018a4a0991019f44c8cad01a6b703e7 (patch)
treed81e68a67e524c78a28968097207fcfec6428362 /src/insdel.c
parent2cd55de6d8d28fb711ecdec845a9fe835a27a350 (diff)
downloademacs-826f42828018a4a0991019f44c8cad01a6b703e7.tar.gz
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Verify correct object type before returning pointer, using eassert. * frame.h (XFRAME): Likewise. * buffer.c (Frename_buffer, Fset_buffer_multibyte, swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong type. * data.c (set_internal): Likewise. * dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise. * fileio.c (auto_save_1): Likewise. * insdel.c (check_markers): Likewise. * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. * undo.c (record_insert): Likewise. * vmsproc.c (child_sig): Likewise. * window.c (unshow_buffer, window_loop): Likewise. * xterm.c (x_erase_phys_cursor): Likewise.
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 3cab83711ba..9facec4cf34 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -83,7 +83,7 @@ check_markers ()
tail = BUF_MARKERS (current_buffer);
- while (XSYMBOL (tail) != XSYMBOL (Qnil))
+ while (! NILP (tail))
{
if (XMARKER (tail)->buffer->text != current_buffer->text)
abort ();