comparison src/insdel.c @ 91010:aaccdab0ee26

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 852-856) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 93-96) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 245) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-249
author Miles Bader <miles@gnu.org>
date Tue, 21 Aug 2007 04:54:03 +0000
parents 424b655804ca 85a3f55b5fdf
children bdb3fe0ba9fa
comparison
equal deleted inserted replaced
91009:e7395a700642 91010:aaccdab0ee26
2169 2169
2170 #define FETCH_END \ 2170 #define FETCH_END \
2171 (! NILP (end_marker) ? Fmarker_position (end_marker) : end) 2171 (! NILP (end_marker) ? Fmarker_position (end_marker) : end)
2172 2172
2173 /* Set a variable to nil if an error occurred. 2173 /* Set a variable to nil if an error occurred.
2174 VAL is a cons-cell whose car is the variable name, and whose cdr is 2174 Don't change the variable if there was no error.
2175 either nil (to mean that there was indeed an error), or non-nil to mean 2175 VAL is a cons-cell (VARIABLE . NO-ERROR-FLAG).
2176 that the was no error (which thus causes this function to do 2176 VARIABLE is the variable to maybe set to nil.
2177 nothing). */ 2177 NO-ERROR-FLAG is nil if there was an error,
2178 anything else meaning no error (so this function does nothing). */
2178 Lisp_Object 2179 Lisp_Object
2179 reset_var_on_error (val) 2180 reset_var_on_error (val)
2180 Lisp_Object val; 2181 Lisp_Object val;
2181 { 2182 {
2182 if (NILP (XCDR (val))) 2183 if (NILP (XCDR (val)))