diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/buffer.c | 25 | ||||
| -rw-r--r-- | src/keyboard.c | 2 |
3 files changed, 31 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index af2d38d2e87..5c0e26760c7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2013-04-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * keyboard.c (timer_start_idle): Remove no-longer-used local. | ||
| 4 | |||
| 5 | 2013-04-14 Eli Zaretskii <eliz@gnu.org> | ||
| 6 | |||
| 7 | * buffer.c (syms_of_buffer) <left-margin-width, right-margin-width> | ||
| 8 | <left-fringe-width, right-fringe-width, fringes-outside-margins>: | ||
| 9 | Mention in the doc string that setting these variables takes | ||
| 10 | effect only after a call to set-window-buffer. (Bug#14200) | ||
| 11 | |||
| 1 | 2013-04-13 Eli Zaretskii <eliz@gnu.org> | 12 | 2013-04-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 13 | ||
| 3 | * indent.c (Fvertical_motion): Don't consider display strings on | 14 | * indent.c (Fvertical_motion): Don't consider display strings on |
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, |
diff --git a/src/keyboard.c b/src/keyboard.c index dbd3717c428..845c62726ea 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4198,8 +4198,6 @@ swallow_events (bool do_display) | |||
| 4198 | static void | 4198 | static void |
| 4199 | timer_start_idle (void) | 4199 | timer_start_idle (void) |
| 4200 | { | 4200 | { |
| 4201 | Lisp_Object timers; | ||
| 4202 | |||
| 4203 | /* If we are already in the idle state, do nothing. */ | 4201 | /* If we are already in the idle state, do nothing. */ |
| 4204 | if (EMACS_TIME_VALID_P (timer_idleness_start_time)) | 4202 | if (EMACS_TIME_VALID_P (timer_idleness_start_time)) |
| 4205 | return; | 4203 | return; |