diff options
| author | Miles Bader | 2007-10-27 09:07:17 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-10-27 09:07:17 +0000 |
| commit | fdc9061358d3654e14bfc1419632e1d6c6c5c13e (patch) | |
| tree | 00f5484d576513deddd938a9a277d0db860b9a5b /src | |
| parent | ebe4c71027cd6ec8583631e895e7fdd3decfc099 (diff) | |
| parent | b6ff295c434269fe824ec47cbfc87c6a02dfd94d (diff) | |
| download | emacs-fdc9061358d3654e14bfc1419632e1d6c6c5c13e.tar.gz emacs-fdc9061358d3654e14bfc1419632e1d6c6c5c13e.zip | |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/eval.c | 9 | ||||
| -rw-r--r-- | src/frame.c | 2 | ||||
| -rw-r--r-- | src/keyboard.c | 6 | ||||
| -rw-r--r-- | src/print.c | 39 |
5 files changed, 46 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3ec3e4a9421..36e6ca3b00d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -56,6 +56,15 @@ | |||
| 56 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. | 56 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. |
| 57 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. | 57 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. |
| 58 | 58 | ||
| 59 | 2007-10-24 Richard Stallman <rms@gnu.org> | ||
| 60 | |||
| 61 | * frame.c (x_figure_window_size): For fullscreen case, | ||
| 62 | set USPosition | PPosition without clobbering rest of window_prompting. | ||
| 63 | |||
| 64 | * keyboard.c (Fcurrent_idle_time): Doc fix. | ||
| 65 | |||
| 66 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | ||
| 67 | |||
| 59 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> | 68 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 60 | 69 | ||
| 61 | * process.c (unwind_request_sigio): Only define if __ultrix__. | 70 | * process.c (unwind_request_sigio): Only define if __ultrix__. |
diff --git a/src/eval.c b/src/eval.c index eaa1a6855f6..7f5f58a2e81 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -2194,7 +2194,14 @@ do_autoload (fundef, funname) | |||
| 2194 | /* Preserve the match data. */ | 2194 | /* Preserve the match data. */ |
| 2195 | record_unwind_save_match_data (); | 2195 | record_unwind_save_match_data (); |
| 2196 | 2196 | ||
| 2197 | /* Value saved here is to be restored into Vautoload_queue. */ | 2197 | /* If autoloading gets an error (which includes the error of failing |
| 2198 | to define the function being called), we use Vautoload_queue | ||
| 2199 | to undo function definitions and `provide' calls made by | ||
| 2200 | the function. We do this in the specific case of autoloading | ||
| 2201 | because autoloading is not an explicit request "load this file", | ||
| 2202 | but rather a request to "call this function". | ||
| 2203 | |||
| 2204 | The value saved here is to be restored into Vautoload_queue. */ | ||
| 2198 | record_unwind_protect (un_autoload, Vautoload_queue); | 2205 | record_unwind_protect (un_autoload, Vautoload_queue); |
| 2199 | Vautoload_queue = Qt; | 2206 | Vautoload_queue = Qt; |
| 2200 | Fload (Fcar (Fcdr (fundef)), Qnil, Qt, Qnil, Qt); | 2207 | Fload (Fcar (Fcdr (fundef)), Qnil, Qt, Qnil, Qt); |
diff --git a/src/frame.c b/src/frame.c index 844a749119c..a8efa11f728 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4182,7 +4182,7 @@ x_figure_window_size (f, parms, toolbar_p) | |||
| 4182 | int width, height; | 4182 | int width, height; |
| 4183 | 4183 | ||
| 4184 | /* It takes both for some WM:s to place it where we want */ | 4184 | /* It takes both for some WM:s to place it where we want */ |
| 4185 | window_prompting = USPosition | PPosition; | 4185 | window_prompting |= USPosition | PPosition; |
| 4186 | x_fullscreen_adjust (f, &width, &height, &top, &left); | 4186 | x_fullscreen_adjust (f, &width, &height, &top, &left); |
| 4187 | FRAME_COLS (f) = width; | 4187 | FRAME_COLS (f) = width; |
| 4188 | FRAME_LINES (f) = height; | 4188 | FRAME_LINES (f) = height; |
diff --git a/src/keyboard.c b/src/keyboard.c index cc6b46a6ba4..b98708534cd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -4716,12 +4716,14 @@ timer_check (do_it_now) | |||
| 4716 | } | 4716 | } |
| 4717 | 4717 | ||
| 4718 | DEFUN ("current-idle-time", Fcurrent_idle_time, Scurrent_idle_time, 0, 0, 0, | 4718 | DEFUN ("current-idle-time", Fcurrent_idle_time, Scurrent_idle_time, 0, 0, 0, |
| 4719 | doc: /* Return the current length of Emacs idleness. | 4719 | doc: /* Return the current length of Emacs idleness, or nil. |
| 4720 | The value is returned as a list of three integers. The first has the | 4720 | The value when Emacs is idle is a list of three integers. The first has the |
| 4721 | most significant 16 bits of the seconds, while the second has the | 4721 | most significant 16 bits of the seconds, while the second has the |
| 4722 | least significant 16 bits. The third integer gives the microsecond | 4722 | least significant 16 bits. The third integer gives the microsecond |
| 4723 | count. | 4723 | count. |
| 4724 | 4724 | ||
| 4725 | The value when Emacs is not idle is nil. | ||
| 4726 | |||
| 4725 | The microsecond count is zero on systems that do not provide | 4727 | The microsecond count is zero on systems that do not provide |
| 4726 | resolution finer than a second. */) | 4728 | resolution finer than a second. */) |
| 4727 | () | 4729 | () |
diff --git a/src/print.c b/src/print.c index 56880eb4bf1..acac49eb801 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -675,21 +675,30 @@ DEFUN ("with-output-to-temp-buffer", | |||
| 675 | Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, | 675 | Fwith_output_to_temp_buffer, Swith_output_to_temp_buffer, |
| 676 | 1, UNEVALLED, 0, | 676 | 1, UNEVALLED, 0, |
| 677 | doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. | 677 | doc: /* Bind `standard-output' to buffer BUFNAME, eval BODY, then show that buffer. |
| 678 | The buffer is cleared out initially, and marked as unmodified when done. | 678 | |
| 679 | All output done by BODY is inserted in that buffer by default. | 679 | This construct makes buffer BUFNAME empty before running BODY. |
| 680 | The buffer is displayed in another window, but not selected. | 680 | It does not make the buffer current for BODY. |
| 681 | The value of the last form in BODY is returned. | 681 | Instead it binds `standard-output' to that buffer, so that output |
| 682 | If BODY does not finish normally, the buffer BUFNAME is not displayed. | 682 | generated with `prin1' and similar functions in BODY goes into |
| 683 | 683 | the buffer. | |
| 684 | The hook `temp-buffer-setup-hook' is run before BODY, | 684 | |
| 685 | with the buffer BUFNAME temporarily current. | 685 | At the end of BODY, this marks buffer BUFNAME unmodifed and displays |
| 686 | The hook `temp-buffer-show-hook' is run after the buffer is displayed, | 686 | it in a window, but does not select it. The normal way to do this is |
| 687 | with the buffer temporarily current, and the window that was used | 687 | by calling `display-buffer', then running `temp-buffer-show-hook'. |
| 688 | to display it temporarily selected. | 688 | However, if `temp-buffer-show-function' is non-nil, it calls that |
| 689 | 689 | function instead (and does not run `temp-buffer-show-hook'). The | |
| 690 | If variable `temp-buffer-show-function' is non-nil, call it at the end | 690 | function gets one argument, the buffer to display. |
| 691 | to get the buffer displayed instead of just displaying the non-selected | 691 | |
| 692 | buffer and calling the hook. It gets one argument, the buffer to display. | 692 | The return value of `with-output-to-temp-buffer' is the value of the |
| 693 | last form in BODY. If BODY does not finish normally, the buffer | ||
| 694 | BUFNAME is not displayed. | ||
| 695 | |||
| 696 | This runs the hook `temp-buffer-setup-hook' before BODY, | ||
| 697 | with the buffer BUFNAME temporarily current. It runs the hook | ||
| 698 | `temp-buffer-show-hook' after displaying buffer BUFNAME, with that | ||
| 699 | buffer temporarily current, and the window that was used to display it | ||
| 700 | temporarily selected. But it doesn't run `temp-buffer-show-hook' | ||
| 701 | if it uses `temp-buffer-show-function'. | ||
| 693 | 702 | ||
| 694 | usage: (with-output-to-temp-buffer BUFNAME BODY...) */) | 703 | usage: (with-output-to-temp-buffer BUFNAME BODY...) */) |
| 695 | (args) | 704 | (args) |