diff options
| author | Stefan Monnier | 2018-03-23 11:01:31 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-03-23 11:01:31 -0400 |
| commit | 6695c1be51bd8a1e208ae02505b2a6fa64c85e68 (patch) | |
| tree | 5b98a40ea7c74b7e9c24d1187c9ed6f332e5b2f2 /src | |
| parent | 8e5ab342aac11ccc54fdcdc9593e989b562f7ae7 (diff) | |
| parent | b8ebf5fb64dbf261315bfdb281a8b0a119e7cc2b (diff) | |
| download | emacs-6695c1be51bd8a1e208ae02505b2a6fa64c85e68.tar.gz emacs-6695c1be51bd8a1e208ae02505b2a6fa64c85e68.zip | |
Merge from origin/emacs-26
b8ebf5fb64 * src/lisp.h (struct Lisp_Buffer_Local_Value): Update comm...
8c92a37cb4 * doc/emacs/trouble.texi: Fix location of `emacs-version' ...
10b1f2fdd5 Explain more about (defvar foo) form (Bug#18059)
68c2f336b1 * doc/lispref/buffers.texi (Buffer List): Fix grammar.
7e720c6851 * doc/lispref/anti.texi (Antinews): Fix grammar.
a6a821d29b * lisp/org/ob-lisp.el (org-babel-lisp-eval-fn): Tweak type.
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; |