aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 19823623091..cd8e2738f9a 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -2138,10 +2138,11 @@ prepare_to_modify_buffer (start, end, preserve_ptr)
2138 (! NILP (end_marker) ? Fmarker_position (end_marker) : end) 2138 (! NILP (end_marker) ? Fmarker_position (end_marker) : end)
2139 2139
2140/* Set a variable to nil if an error occurred. 2140/* Set a variable to nil if an error occurred.
2141 VAL is a cons-cell whose car is the variable name, and whose cdr is 2141 Don't change the variable if there was no error.
2142 either nil (to mean that there was indeed an error), or non-nil to mean 2142 VAL is a cons-cell (VARIABLE . NO-ERROR-FLAG).
2143 that the was no error (which thus causes this function to do 2143 VARIABLE is the variable to maybe set to nil.
2144 nothing). */ 2144 NO-ERROR-FLAG is nil if there was an error,
2145 anything else meaning no error (so this function does nothing). */
2145Lisp_Object 2146Lisp_Object
2146reset_var_on_error (val) 2147reset_var_on_error (val)
2147 Lisp_Object val; 2148 Lisp_Object val;