aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2012-03-20 16:52:11 +0800
committerChong Yidong2012-03-20 16:52:11 +0800
commit025de85b0709596975ddcd0fa298f88d12493254 (patch)
tree32d0edb7f14590f3ddc709ecfdbacc8f1e867216 /src
parentee52ebf3e27fc33defe5971c2410dbe8746919e3 (diff)
downloademacs-025de85b0709596975ddcd0fa298f88d12493254.tar.gz
emacs-025de85b0709596975ddcd0fa298f88d12493254.zip
Update doc to reflect new non-nil value of redisplay-dont-pause.
* doc/lispref/display.texi (Forcing Redisplay): Various rewrites to reflect new value of redisplay-dont-pause. (Truncation): Copyedits. * src/dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc to reflect default non-nil value of redisplay-dont-pause.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dispnew.c29
2 files changed, 22 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8b1221ab6d8..ae8835478a5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-03-20 Chong Yidong <cyd@gnu.org>
2
3 * dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc
4 to reflect default non-nil value of redisplay-dont-pause.
5
12012-03-19 Kenichi Handa <handa@m17n.org> 62012-03-19 Kenichi Handa <handa@m17n.org>
2 7
3 * ftfont.c (ftfont_drive_otf): Mask bits of character code to make 8 * ftfont.c (ftfont_drive_otf): Mask bits of character code to make
diff --git a/src/dispnew.c b/src/dispnew.c
index d302e717ec2..02d6de53bbf 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6068,10 +6068,14 @@ sit_for (Lisp_Object timeout, int reading, int do_display)
6068 6068
6069 6069
6070DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0, 6070DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0,
6071 doc: /* Perform redisplay if no input is available. 6071 doc: /* Perform redisplay.
6072If optional arg FORCE is non-nil or `redisplay-dont-pause' is non-nil, 6072Optional arg FORCE, if non-nil, prevents redisplay from being
6073perform a full redisplay even if input is available. 6073preempted by arriving input, even if `redisplay-dont-pause' is nil.
6074Return t if redisplay was performed, nil otherwise. */) 6074If `redisplay-dont-pause' is non-nil (the default), redisplay is never
6075preempted by arriving input, so FORCE does nothing.
6076
6077Return t if redisplay was performed, nil if redisplay was preempted
6078immediately by pending input. */)
6075 (Lisp_Object force) 6079 (Lisp_Object force)
6076{ 6080{
6077 int count; 6081 int count;
@@ -6521,21 +6525,21 @@ syms_of_display (void)
6521 DEFSYM (Qredisplay_dont_pause, "redisplay-dont-pause"); 6525 DEFSYM (Qredisplay_dont_pause, "redisplay-dont-pause");
6522 6526
6523 DEFVAR_INT ("baud-rate", baud_rate, 6527 DEFVAR_INT ("baud-rate", baud_rate,
6524 doc: /* *The output baud rate of the terminal. 6528 doc: /* The output baud rate of the terminal.
6525On most systems, changing this value will affect the amount of padding 6529On most systems, changing this value will affect the amount of padding
6526and the other strategic decisions made during redisplay. */); 6530and the other strategic decisions made during redisplay. */);
6527 6531
6528 DEFVAR_BOOL ("inverse-video", inverse_video, 6532 DEFVAR_BOOL ("inverse-video", inverse_video,
6529 doc: /* *Non-nil means invert the entire frame display. 6533 doc: /* Non-nil means invert the entire frame display.
6530This means everything is in inverse video which otherwise would not be. */); 6534This means everything is in inverse video which otherwise would not be. */);
6531 6535
6532 DEFVAR_BOOL ("visible-bell", visible_bell, 6536 DEFVAR_BOOL ("visible-bell", visible_bell,
6533 doc: /* *Non-nil means try to flash the frame to represent a bell. 6537 doc: /* Non-nil means try to flash the frame to represent a bell.
6534 6538
6535See also `ring-bell-function'. */); 6539See also `ring-bell-function'. */);
6536 6540
6537 DEFVAR_BOOL ("no-redraw-on-reenter", no_redraw_on_reenter, 6541 DEFVAR_BOOL ("no-redraw-on-reenter", no_redraw_on_reenter,
6538 doc: /* *Non-nil means no need to redraw entire frame after suspending. 6542 doc: /* Non-nil means no need to redraw entire frame after suspending.
6539A non-nil value is useful if the terminal can automatically preserve 6543A non-nil value is useful if the terminal can automatically preserve
6540Emacs's frame display when you reenter Emacs. 6544Emacs's frame display when you reenter Emacs.
6541It is up to you to set this variable if your terminal can do that. */); 6545It is up to you to set this variable if your terminal can do that. */);
@@ -6590,14 +6594,15 @@ See `buffer-display-table' for more information. */);
6590 Vstandard_display_table = Qnil; 6594 Vstandard_display_table = Qnil;
6591 6595
6592 DEFVAR_BOOL ("redisplay-dont-pause", redisplay_dont_pause, 6596 DEFVAR_BOOL ("redisplay-dont-pause", redisplay_dont_pause,
6593 doc: /* *Non-nil means display update isn't paused when input is detected. */); 6597 doc: /* Non-nil means display update isn't paused when input is detected. */);
6594 redisplay_dont_pause = 1; 6598 redisplay_dont_pause = 1;
6595 6599
6596#if PERIODIC_PREEMPTION_CHECKING 6600#if PERIODIC_PREEMPTION_CHECKING
6597 DEFVAR_LISP ("redisplay-preemption-period", Vredisplay_preemption_period, 6601 DEFVAR_LISP ("redisplay-preemption-period", Vredisplay_preemption_period,
6598 doc: /* *The period in seconds between checking for input during redisplay. 6602 doc: /* Period in seconds between checking for input during redisplay.
6599If input is detected, redisplay is pre-empted, and the input is processed. 6603This has an effect only if `redisplay-dont-pause' is nil; in that
6600If nil, never pre-empt redisplay. */); 6604case, arriving input preempts redisplay until the input is processed.
6605If the value is nil, redisplay is never preempted. */);
6601 Vredisplay_preemption_period = make_float (0.10); 6606 Vredisplay_preemption_period = make_float (0.10);
6602#endif 6607#endif
6603 6608