diff options
| author | Chong Yidong | 2011-11-19 19:09:10 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-11-19 19:09:10 +0800 |
| commit | df05a53c61885a7d11265e36723742c12ab1a061 (patch) | |
| tree | ffc919df5965cdb6bbe9348964db718458f8bb46 /src | |
| parent | c56cad4ac04ca0da464926f826e7d2fa246fa3eb (diff) | |
| download | emacs-df05a53c61885a7d11265e36723742c12ab1a061.tar.gz emacs-df05a53c61885a7d11265e36723742c12ab1a061.zip | |
* window.c (Fwindow_combination_limit): Make first arg non-optional
since it is meaningless for live windows like the selected window.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/window.c | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1bb4a6a5993..1fff4517c0b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-11-18 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * window.c (Fwindow_combination_limit): Make first argument | ||
| 4 | non-optional, since it is meaningless for live windows like the | ||
| 5 | selected window. | ||
| 6 | |||
| 1 | 2011-11-18 Dmitry Antipov <dmantipov@yandex.ru> | 7 | 2011-11-18 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 8 | ||
| 3 | * keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. | 9 | * keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. |
diff --git a/src/window.c b/src/window.c index 641f7a397a4..ae0c7431f74 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -465,10 +465,8 @@ Return nil if WINDOW has no previous sibling. */) | |||
| 465 | return decode_any_window (window)->prev; | 465 | return decode_any_window (window)->prev; |
| 466 | } | 466 | } |
| 467 | 467 | ||
| 468 | DEFUN ("window-combination-limit", Fwindow_combination_limit, Swindow_combination_limit, 0, 1, 0, | 468 | DEFUN ("window-combination-limit", Fwindow_combination_limit, Swindow_combination_limit, 1, 1, 0, |
| 469 | doc: /* Return combination limit of window WINDOW. | 469 | doc: /* Return combination limit of window WINDOW. |
| 470 | If WINDOW is omitted or nil, it defaults to the selected window. | ||
| 471 | |||
| 472 | If the return value is nil, child windows of WINDOW can be recombined with | 470 | If the return value is nil, child windows of WINDOW can be recombined with |
| 473 | WINDOW's siblings. A return value of t means that child windows of | 471 | WINDOW's siblings. A return value of t means that child windows of |
| 474 | WINDOW are never \(re-)combined with WINDOW's siblings. */) | 472 | WINDOW are never \(re-)combined with WINDOW's siblings. */) |
| @@ -479,8 +477,6 @@ WINDOW are never \(re-)combined with WINDOW's siblings. */) | |||
| 479 | 477 | ||
| 480 | DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, | 478 | DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, |
| 481 | doc: /* Set combination limit of window WINDOW to STATUS; return STATUS. | 479 | doc: /* Set combination limit of window WINDOW to STATUS; return STATUS. |
| 482 | If WINDOW is omitted or nil, it defaults to the selected window. | ||
| 483 | |||
| 484 | If STATUS is nil, child windows of WINDOW can be recombined with | 480 | If STATUS is nil, child windows of WINDOW can be recombined with |
| 485 | WINDOW's siblings. STATUS t means that child windows of WINDOW are | 481 | WINDOW's siblings. STATUS t means that child windows of WINDOW are |
| 486 | never \(re-)combined with WINDOW's siblings. Other values are reserved | 482 | never \(re-)combined with WINDOW's siblings. Other values are reserved |