aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lisp.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 57e4f4b9853..a8963b7f3c4 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2593,13 +2593,12 @@ struct Lisp_Buffer_Objfwd
2593 variable, you must first make sure the right binding is loaded; 2593 variable, you must first make sure the right binding is loaded;
2594 then you can access the value in (or through) `realvalue'. 2594 then you can access the value in (or through) `realvalue'.
2595 2595
2596 `buffer' and `frame' are the buffer and frame for which the loaded 2596 `where' is the buffer for which the loaded binding was found. If
2597 binding was found. If those have changed, to make sure the right 2597 it has changed, to make sure the right binding is loaded it is
2598 binding is loaded it is necessary to find which binding goes with 2598 necessary to find which binding goes with the current buffer, then
2599 the current buffer and selected frame, then load it. To load it, 2599 load it. To load it, first unload the previous binding, then copy
2600 first unload the previous binding, then copy the value of the new 2600 the value of the new binding into `realvalue' (or through it).
2601 binding into `realvalue' (or through it). Also update 2601 Also update LOADED-BINDING to point to the newly loaded binding.
2602 LOADED-BINDING to point to the newly loaded binding.
2603 2602
2604 `local_if_set' indicates that merely setting the variable creates a 2603 `local_if_set' indicates that merely setting the variable creates a
2605 local binding for the current buffer. Otherwise the latter, setting 2604 local binding for the current buffer. Otherwise the latter, setting
@@ -2615,14 +2614,14 @@ struct Lisp_Buffer_Local_Value
2615 bool_bf found : 1; 2614 bool_bf found : 1;
2616 /* If non-NULL, a forwarding to the C var where it should also be set. */ 2615 /* If non-NULL, a forwarding to the C var where it should also be set. */
2617 union Lisp_Fwd *fwd; /* Should never be (Buffer|Kboard)_Objfwd. */ 2616 union Lisp_Fwd *fwd; /* Should never be (Buffer|Kboard)_Objfwd. */
2618 /* The buffer or frame for which the loaded binding was found. */ 2617 /* The buffer for which the loaded binding was found. */
2619 Lisp_Object where; 2618 Lisp_Object where;
2620 /* A cons cell that holds the default value. It has the form 2619 /* A cons cell that holds the default value. It has the form
2621 (SYMBOL . DEFAULT-VALUE). */ 2620 (SYMBOL . DEFAULT-VALUE). */
2622 Lisp_Object defcell; 2621 Lisp_Object defcell;
2623 /* The cons cell from `where's parameter alist. 2622 /* The cons cell from `where's parameter alist.
2624 It always has the form (SYMBOL . VALUE) 2623 It always has the form (SYMBOL . VALUE)
2625 Note that if `forward' is non-nil, VALUE may be out of date. 2624 Note that if `fwd' is non-NULL, VALUE may be out of date.
2626 Also if the currently loaded binding is the default binding, then 2625 Also if the currently loaded binding is the default binding, then
2627 this is `eq'ual to defcell. */ 2626 this is `eq'ual to defcell. */
2628 Lisp_Object valcell; 2627 Lisp_Object valcell;