aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-04-15 08:30:29 +0200
committerJoakim Verona2013-04-15 08:30:29 +0200
commitd23364e4a27b2ec625cdbf3428d4600fcd1ef7a2 (patch)
treee5c63701ea60b09a10dd04736dde5802e160b86e /src
parent679f5c7157a39033a9d462db3c47e5ce3c89304e (diff)
parent35c5bbbad00618df4d4d738bbd6b6ea9023922eb (diff)
downloademacs-d23364e4a27b2ec625cdbf3428d4600fcd1ef7a2.tar.gz
emacs-d23364e4a27b2ec625cdbf3428d4600fcd1ef7a2.zip
auto upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/buffer.c25
-rw-r--r--src/keyboard.c2
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 @@
12013-04-14 Paul Eggert <eggert@cs.ucla.edu>
2
3 * keyboard.c (timer_start_idle): Remove no-longer-used local.
4
52013-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
12013-04-13 Eli Zaretskii <eliz@gnu.org> 122013-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.
5886A value of nil means no marginal area. */); 5886A value of nil means no marginal area.
5887
5888Setting this variable does not take effect until a new buffer is displayed
5889in 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.
5891A value of nil means no marginal area. */); 5894A value of nil means no marginal area.
5895
5896Setting this variable does not take effect until a new buffer is displayed
5897in 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).
5896A value of 0 means no left fringe is shown in this buffer's window. 5902A value of 0 means no left fringe is shown in this buffer's window.
5897A value of nil means to use the left fringe width from the window's frame. */); 5903A value of nil means to use the left fringe width from the window's frame.
5904
5905Setting this variable does not take effect until a new buffer is displayed
5906in 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).
5902A value of 0 means no right fringe is shown in this buffer's window. 5911A value of 0 means no right fringe is shown in this buffer's window.
5903A value of nil means to use the right fringe width from the window's frame. */); 5912A value of nil means to use the right fringe width from the window's frame.
5913
5914Setting this variable does not take effect until a new buffer is displayed
5915in 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.
5908A value of nil means to display fringes between margins and buffer text. */); 5920A value of nil means to display fringes between margins and buffer text.
5921
5922Setting this variable does not take effect until a new buffer is displayed
5923in 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)
4198static void 4198static void
4199timer_start_idle (void) 4199timer_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;