# HG changeset patch # User Stefan Monnier # Date 1187208340 0 # Node ID 85a3f55b5fdf481f73cf7cb5326217899d09fe88 # Parent f5d88662fe95d5d93188fd1fe43f46fc9d610cf0 (reset_var_on_error): Improve comment. diff -r f5d88662fe95 -r 85a3f55b5fdf src/insdel.c --- a/src/insdel.c Wed Aug 15 15:47:45 2007 +0000 +++ b/src/insdel.c Wed Aug 15 20:05:40 2007 +0000 @@ -2138,10 +2138,11 @@ (! NILP (end_marker) ? Fmarker_position (end_marker) : end) /* Set a variable to nil if an error occurred. - VAL is a cons-cell whose car is the variable name, and whose cdr is - either nil (to mean that there was indeed an error), or non-nil to mean - that the was no error (which thus causes this function to do - nothing). */ + Don't change the variable if there was no error. + VAL is a cons-cell (VARIABLE . NO-ERROR-FLAG). + VARIABLE is the variable to maybe set to nil. + NO-ERROR-FLAG is nil if there was an error, + anything else meaning no error (so this function does nothing). */ Lisp_Object reset_var_on_error (val) Lisp_Object val;