diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lisp.h b/src/lisp.h index a7f0a1d78ff..aefdaeaf12f 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2685,13 +2685,12 @@ struct Lisp_Buffer_Objfwd | |||
| 2685 | variable, you must first make sure the right binding is loaded; | 2685 | variable, you must first make sure the right binding is loaded; |
| 2686 | then you can access the value in (or through) `realvalue'. | 2686 | then you can access the value in (or through) `realvalue'. |
| 2687 | 2687 | ||
| 2688 | `buffer' and `frame' are the buffer and frame for which the loaded | 2688 | `where' is the buffer for which the loaded binding was found. If |
| 2689 | binding was found. If those have changed, to make sure the right | 2689 | it has changed, to make sure the right binding is loaded it is |
| 2690 | binding is loaded it is necessary to find which binding goes with | 2690 | necessary to find which binding goes with the current buffer, then |
| 2691 | the current buffer and selected frame, then load it. To load it, | 2691 | load it. To load it, first unload the previous binding, then copy |
| 2692 | first unload the previous binding, then copy the value of the new | 2692 | the value of the new binding into `realvalue' (or through it). |
| 2693 | binding into `realvalue' (or through it). Also update | 2693 | Also update LOADED-BINDING to point to the newly loaded binding. |
| 2694 | LOADED-BINDING to point to the newly loaded binding. | ||
| 2695 | 2694 | ||
| 2696 | `local_if_set' indicates that merely setting the variable creates a | 2695 | `local_if_set' indicates that merely setting the variable creates a |
| 2697 | local binding for the current buffer. Otherwise the latter, setting | 2696 | local binding for the current buffer. Otherwise the latter, setting |
| @@ -2707,14 +2706,14 @@ struct Lisp_Buffer_Local_Value | |||
| 2707 | bool_bf found : 1; | 2706 | bool_bf found : 1; |
| 2708 | /* If non-NULL, a forwarding to the C var where it should also be set. */ | 2707 | /* If non-NULL, a forwarding to the C var where it should also be set. */ |
| 2709 | union Lisp_Fwd *fwd; /* Should never be (Buffer|Kboard)_Objfwd. */ | 2708 | union Lisp_Fwd *fwd; /* Should never be (Buffer|Kboard)_Objfwd. */ |
| 2710 | /* The buffer or frame for which the loaded binding was found. */ | 2709 | /* The buffer for which the loaded binding was found. */ |
| 2711 | Lisp_Object where; | 2710 | Lisp_Object where; |
| 2712 | /* A cons cell that holds the default value. It has the form | 2711 | /* A cons cell that holds the default value. It has the form |
| 2713 | (SYMBOL . DEFAULT-VALUE). */ | 2712 | (SYMBOL . DEFAULT-VALUE). */ |
| 2714 | Lisp_Object defcell; | 2713 | Lisp_Object defcell; |
| 2715 | /* The cons cell from `where's parameter alist. | 2714 | /* The cons cell from `where's parameter alist. |
| 2716 | It always has the form (SYMBOL . VALUE) | 2715 | It always has the form (SYMBOL . VALUE) |
| 2717 | Note that if `forward' is non-nil, VALUE may be out of date. | 2716 | Note that if `fwd' is non-NULL, VALUE may be out of date. |
| 2718 | Also if the currently loaded binding is the default binding, then | 2717 | Also if the currently loaded binding is the default binding, then |
| 2719 | this is `eq'ual to defcell. */ | 2718 | this is `eq'ual to defcell. */ |
| 2720 | Lisp_Object valcell; | 2719 | Lisp_Object valcell; |