Mercurial > hg > xemacs-beta
comparison src/insdel.c @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | 78478c60bfcd |
children | 966663fcf606 |
comparison
equal
deleted
inserted
replaced
218:c9f226976f56 | 219:262b8bb4a523 |
---|---|
2165 signal_first_change (buf); | 2165 signal_first_change (buf); |
2166 | 2166 |
2167 /* Now in any case run the before-change-functions if any. */ | 2167 /* Now in any case run the before-change-functions if any. */ |
2168 | 2168 |
2169 if (!preparing_for_armageddon && | 2169 if (!preparing_for_armageddon && |
2170 !EQ (buffer, Vprin1_to_string_buffer) && | |
2171 (!NILP (symbol_value_in_buffer (Qbefore_change_functions, buffer)) || | 2170 (!NILP (symbol_value_in_buffer (Qbefore_change_functions, buffer)) || |
2172 /* Obsolete, for compatibility */ | 2171 /* Obsolete, for compatibility */ |
2173 !NILP (symbol_value_in_buffer (Qbefore_change_function, buffer)))) | 2172 !NILP (symbol_value_in_buffer (Qbefore_change_function, buffer)))) |
2174 { | 2173 { |
2175 int speccount = specpdl_depth (); | 2174 int speccount = specpdl_depth (); |
2224 buf->text->changes->mc_new_end += new_end - orig_end; | 2223 buf->text->changes->mc_new_end += new_end - orig_end; |
2225 return; /* after-change-functions signalled when all changes done */ | 2224 return; /* after-change-functions signalled when all changes done */ |
2226 } | 2225 } |
2227 | 2226 |
2228 if (!preparing_for_armageddon && | 2227 if (!preparing_for_armageddon && |
2229 !EQ (buffer, Vprin1_to_string_buffer) && | |
2230 (!NILP (symbol_value_in_buffer (Qafter_change_functions, buffer)) || | 2228 (!NILP (symbol_value_in_buffer (Qafter_change_functions, buffer)) || |
2231 /* Obsolete, for compatibility */ | 2229 /* Obsolete, for compatibility */ |
2232 !NILP (symbol_value_in_buffer (Qafter_change_function, buffer)))) | 2230 !NILP (symbol_value_in_buffer (Qafter_change_function, buffer)))) |
2233 { | 2231 { |
2234 int speccount = specpdl_depth (); | 2232 int speccount = specpdl_depth (); |