diff options
| author | Eli Zaretskii | 2013-04-14 09:51:15 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-04-14 09:51:15 +0300 |
| commit | ddd6b68524ba1f957e2f8ddd76eb23e641429b58 (patch) | |
| tree | 880609b112d189a117240800179ebf414cc246ae /src/buffer.c | |
| parent | 91e8293cc55d1de50796300412084e8774c60e7f (diff) | |
| download | emacs-ddd6b68524ba1f957e2f8ddd76eb23e641429b58.tar.gz emacs-ddd6b68524ba1f957e2f8ddd76eb23e641429b58.zip | |
Improve doc strings of left/right-margin/fringe-width.
src/buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>
<left-fringe-width, right-fringe-width, fringes-outside-margins>:
Mention in the doc string that setting these variables takes
effect only after a call to set-window-buffer. (Bug#14200)
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8728b418812..3810d3db079 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5883,29 +5883,44 @@ See also the functions `display-table-slot' and `set-display-table-slot'. */); | |||
| 5883 | DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols), | 5883 | DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols), |
| 5884 | Qintegerp, | 5884 | Qintegerp, |
| 5885 | doc: /* Width of left marginal area for display of a buffer. | 5885 | doc: /* Width of left marginal area for display of a buffer. |
| 5886 | A value of nil means no marginal area. */); | 5886 | A value of nil means no marginal area. |
| 5887 | |||
| 5888 | Setting this variable does not take effect until a new buffer is displayed | ||
| 5889 | in a window. To make the change take effect, call `set-window-buffer'. */); | ||
| 5887 | 5890 | ||
| 5888 | DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols), | 5891 | DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols), |
| 5889 | Qintegerp, | 5892 | Qintegerp, |
| 5890 | doc: /* Width of right marginal area for display of a buffer. | 5893 | doc: /* Width of right marginal area for display of a buffer. |
| 5891 | A value of nil means no marginal area. */); | 5894 | A value of nil means no marginal area. |
| 5895 | |||
| 5896 | Setting this variable does not take effect until a new buffer is displayed | ||
| 5897 | in a window. To make the change take effect, call `set-window-buffer'. */); | ||
| 5892 | 5898 | ||
| 5893 | DEFVAR_PER_BUFFER ("left-fringe-width", &BVAR (current_buffer, left_fringe_width), | 5899 | DEFVAR_PER_BUFFER ("left-fringe-width", &BVAR (current_buffer, left_fringe_width), |
| 5894 | Qintegerp, | 5900 | Qintegerp, |
| 5895 | doc: /* Width of this buffer's left fringe (in pixels). | 5901 | doc: /* Width of this buffer's left fringe (in pixels). |
| 5896 | A value of 0 means no left fringe is shown in this buffer's window. | 5902 | A value of 0 means no left fringe is shown in this buffer's window. |
| 5897 | A value of nil means to use the left fringe width from the window's frame. */); | 5903 | A value of nil means to use the left fringe width from the window's frame. |
| 5904 | |||
| 5905 | Setting this variable does not take effect until a new buffer is displayed | ||
| 5906 | in a window. To make the change take effect, call `set-window-buffer'. */); | ||
| 5898 | 5907 | ||
| 5899 | DEFVAR_PER_BUFFER ("right-fringe-width", &BVAR (current_buffer, right_fringe_width), | 5908 | DEFVAR_PER_BUFFER ("right-fringe-width", &BVAR (current_buffer, right_fringe_width), |
| 5900 | Qintegerp, | 5909 | Qintegerp, |
| 5901 | doc: /* Width of this buffer's right fringe (in pixels). | 5910 | doc: /* Width of this buffer's right fringe (in pixels). |
| 5902 | A value of 0 means no right fringe is shown in this buffer's window. | 5911 | A value of 0 means no right fringe is shown in this buffer's window. |
| 5903 | A value of nil means to use the right fringe width from the window's frame. */); | 5912 | A value of nil means to use the right fringe width from the window's frame. |
| 5913 | |||
| 5914 | Setting this variable does not take effect until a new buffer is displayed | ||
| 5915 | in a window. To make the change take effect, call `set-window-buffer'. */); | ||
| 5904 | 5916 | ||
| 5905 | DEFVAR_PER_BUFFER ("fringes-outside-margins", &BVAR (current_buffer, fringes_outside_margins), | 5917 | DEFVAR_PER_BUFFER ("fringes-outside-margins", &BVAR (current_buffer, fringes_outside_margins), |
| 5906 | Qnil, | 5918 | Qnil, |
| 5907 | doc: /* Non-nil means to display fringes outside display margins. | 5919 | doc: /* Non-nil means to display fringes outside display margins. |
| 5908 | A value of nil means to display fringes between margins and buffer text. */); | 5920 | A value of nil means to display fringes between margins and buffer text. |
| 5921 | |||
| 5922 | Setting this variable does not take effect until a new buffer is displayed | ||
| 5923 | in a window. To make the change take effect, call `set-window-buffer'. */); | ||
| 5909 | 5924 | ||
| 5910 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), | 5925 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), |
| 5911 | Qintegerp, | 5926 | Qintegerp, |