diff src/lisp.h @ 5381:4f39e57a82b4

Improve read-only error reporting. -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2011-03-17 Didier Verna <didier@xemacs.org> * data.c (init_errors_once_early): Define Qextent_read_only error. * lisp.h: Declare it. * extents.c (verify_extent_mapper): Signal an extent-read-only error instead of a buffer-read-only one.
author Didier Verna <didier@lrde.epita.fr>
date Thu, 17 Mar 2011 16:20:09 +0100
parents 22c4e67a2e69
children e99b473303e3 4dee0387b9de
line wrap: on
line diff
--- a/src/lisp.h	Mon Mar 21 12:27:07 2011 +0000
+++ b/src/lisp.h	Thu Mar 17 16:20:09 2011 +0100
@@ -4532,7 +4532,8 @@
 extern MODULE_API Lisp_Object Qintegerp;
 
 extern Lisp_Object Qargs_out_of_range, Qarith_error, Qbeginning_of_buffer,
-    Qbuffer_read_only, Qcircular_list, Qcircular_property_list,
+    Qbuffer_read_only, Qextent_read_only,
+    Qcircular_list, Qcircular_property_list,
     Qconversion_error, Qcyclic_variable_indirection, Qdomain_error,
     Qediting_error, Qend_of_buffer, Qend_of_file, Qerror, Qfile_error,
     Qinternal_error, Qinvalid_change, Qinvalid_constant, Qinvalid_function,