diff options
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/lisp.h b/src/lisp.h index aefdaeaf12f..f0c0c5a14a5 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2679,18 +2679,15 @@ struct Lisp_Buffer_Objfwd | |||
| 2679 | in the buffer structure itself. They are handled differently, | 2679 | in the buffer structure itself. They are handled differently, |
| 2680 | using struct Lisp_Buffer_Objfwd.) | 2680 | using struct Lisp_Buffer_Objfwd.) |
| 2681 | 2681 | ||
| 2682 | The `realvalue' slot holds the variable's current value, or a | 2682 | The `valcell' slot holds the variable's current value (unless `fwd' |
| 2683 | forwarding pointer to where that value is kept. This value is the | 2683 | is set). This value is the one that corresponds to the loaded binding. |
| 2684 | one that corresponds to the loaded binding. To read or set the | 2684 | To read or set the variable, you must first make sure the right binding |
| 2685 | variable, you must first make sure the right binding is loaded; | 2685 | is loaded; then you can access the value in (or through) `valcell'. |
| 2686 | then you can access the value in (or through) `realvalue'. | 2686 | |
| 2687 | 2687 | `where' is the buffer for which the loaded binding was found. | |
| 2688 | `where' is the buffer for which the loaded binding was found. If | 2688 | If it has changed, to make sure the right binding is loaded it is |
| 2689 | it has changed, to make sure the right binding is loaded it is | ||
| 2690 | necessary to find which binding goes with the current buffer, then | 2689 | necessary to find which binding goes with the current buffer, then |
| 2691 | load it. To load it, first unload the previous binding, then copy | 2690 | load it. To load it, first unload the previous binding. |
| 2692 | the value of the new binding into `realvalue' (or through it). | ||
| 2693 | Also update LOADED-BINDING to point to the newly loaded binding. | ||
| 2694 | 2691 | ||
| 2695 | `local_if_set' indicates that merely setting the variable creates a | 2692 | `local_if_set' indicates that merely setting the variable creates a |
| 2696 | local binding for the current buffer. Otherwise the latter, setting | 2693 | local binding for the current buffer. Otherwise the latter, setting |