diff options
| author | Stefan Monnier | 2007-08-15 20:05:40 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-08-15 20:05:40 +0000 |
| commit | e6d3f0908eb8ceeb3720c5031109d2cda805f0ac (patch) | |
| tree | 844cadc0463454f00fd3a826c65a6ac486815a94 /src | |
| parent | 42964ef859eef3aeb1e31f62a34b2e3ead9103e0 (diff) | |
| download | emacs-e6d3f0908eb8ceeb3720c5031109d2cda805f0ac.tar.gz emacs-e6d3f0908eb8ceeb3720c5031109d2cda805f0ac.zip | |
(reset_var_on_error): Improve comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 9 |
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). */ | ||
| 2145 | Lisp_Object | 2146 | Lisp_Object |
| 2146 | reset_var_on_error (val) | 2147 | reset_var_on_error (val) |
| 2147 | Lisp_Object val; | 2148 | Lisp_Object val; |