aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/lisp.h b/src/lisp.h
index cd6d07288e0..56ad8b814b6 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2587,18 +2587,15 @@ struct Lisp_Buffer_Objfwd
2587 in the buffer structure itself. They are handled differently, 2587 in the buffer structure itself. They are handled differently,
2588 using struct Lisp_Buffer_Objfwd.) 2588 using struct Lisp_Buffer_Objfwd.)
2589 2589
2590 The `realvalue' slot holds the variable's current value, or a 2590 The `valcell' slot holds the variable's current value (unless `fwd'
2591 forwarding pointer to where that value is kept. This value is the 2591 is set). This value is the one that corresponds to the loaded binding.
2592 one that corresponds to the loaded binding. To read or set the 2592 To read or set the variable, you must first make sure the right binding
2593 variable, you must first make sure the right binding is loaded; 2593 is loaded; then you can access the value in (or through) `valcell'.
2594 then you can access the value in (or through) `realvalue'. 2594
2595 2595 `where' is the buffer for which the loaded binding was found.
2596 `where' is the buffer for which the loaded binding was found. If 2596 If it has changed, to make sure the right binding is loaded it is
2597 it has changed, to make sure the right binding is loaded it is
2598 necessary to find which binding goes with the current buffer, then 2597 necessary to find which binding goes with the current buffer, then
2599 load it. To load it, first unload the previous binding, then copy 2598 load it. To load it, first unload the previous binding.
2600 the value of the new binding into `realvalue' (or through it).
2601 Also update LOADED-BINDING to point to the newly loaded binding.
2602 2599
2603 `local_if_set' indicates that merely setting the variable creates a 2600 `local_if_set' indicates that merely setting the variable creates a
2604 local binding for the current buffer. Otherwise the latter, setting 2601 local binding for the current buffer. Otherwise the latter, setting