Mercurial > hg > xemacs-beta
comparison src/insdel.c @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | 8619ce7e4c50 |
children | 538048ae2ab8 |
comparison
equal
deleted
inserted
replaced
119:d101af7320b8 | 120:cca96a509cfe |
---|---|
2180 signal_first_change (buf); | 2180 signal_first_change (buf); |
2181 | 2181 |
2182 /* Now in any case run the before-change-functions if any. */ | 2182 /* Now in any case run the before-change-functions if any. */ |
2183 | 2183 |
2184 if (!preparing_for_armageddon && | 2184 if (!preparing_for_armageddon && |
2185 !EQ (buffer, Vprin1_to_string_buffer) && | |
2185 (!NILP (symbol_value_in_buffer (Qbefore_change_functions, buffer)) || | 2186 (!NILP (symbol_value_in_buffer (Qbefore_change_functions, buffer)) || |
2186 /* Obsolete, for compatibility */ | 2187 /* Obsolete, for compatibility */ |
2187 !NILP (symbol_value_in_buffer (Qbefore_change_function, buffer)))) | 2188 !NILP (symbol_value_in_buffer (Qbefore_change_function, buffer)))) |
2188 { | 2189 { |
2189 int speccount = specpdl_depth (); | 2190 int speccount = specpdl_depth (); |
2238 buf->text->changes->mc_new_end += new_end - orig_end; | 2239 buf->text->changes->mc_new_end += new_end - orig_end; |
2239 return; /* after-change-functions signalled when all changes done */ | 2240 return; /* after-change-functions signalled when all changes done */ |
2240 } | 2241 } |
2241 | 2242 |
2242 if (!preparing_for_armageddon && | 2243 if (!preparing_for_armageddon && |
2244 !EQ (buffer, Vprin1_to_string_buffer) && | |
2243 (!NILP (symbol_value_in_buffer (Qafter_change_functions, buffer)) || | 2245 (!NILP (symbol_value_in_buffer (Qafter_change_functions, buffer)) || |
2244 /* Obsolete, for compatibility */ | 2246 /* Obsolete, for compatibility */ |
2245 !NILP (symbol_value_in_buffer (Qafter_change_function, buffer)))) | 2247 !NILP (symbol_value_in_buffer (Qafter_change_function, buffer)))) |
2246 { | 2248 { |
2247 int speccount = specpdl_depth (); | 2249 int speccount = specpdl_depth (); |