diff options
| author | Paul Eggert | 2016-12-07 12:41:04 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-12-07 12:41:04 -0800 |
| commit | e676b7b80b5c5bd65b7a9f28fdac631cf78c22db (patch) | |
| tree | 19ce0dc5b3b9a2db7aa1b854026517c7d6fb92e2 | |
| parent | 8cd0d5df81a1cd4ed2187ac4b5a4202f3ad46c67 (diff) | |
| parent | d31298d8afa8166346fbc9206f38ec4b09a12204 (diff) | |
| download | emacs-e676b7b80b5c5bd65b7a9f28fdac631cf78c22db.tar.gz emacs-e676b7b80b5c5bd65b7a9f28fdac631cf78c22db.zip | |
Merge from origin/emacs-25
d31298d Fix documentation of `window-combination-resize'
2086f4c Typo fixes in elisp manual
| -rw-r--r-- | doc/lispref/sequences.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 14 | ||||
| -rw-r--r-- | doc/lispref/symbols.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 6 | ||||
| -rw-r--r-- | src/window.c | 4 |
5 files changed, 7 insertions, 21 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index e879b82c8f7..421308665db 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -859,7 +859,7 @@ concatenation of @var{sequences}. @var{type} may be: @code{vector}, | |||
| 859 | @example | 859 | @example |
| 860 | @group | 860 | @group |
| 861 | (seq-concatenate 'list '(1 2) '(3 4) [5 6]) | 861 | (seq-concatenate 'list '(1 2) '(3 4) [5 6]) |
| 862 | @result{} (1 2 3 5 6) | 862 | @result{} (1 2 3 4 5 6) |
| 863 | @end group | 863 | @end group |
| 864 | @group | 864 | @group |
| 865 | (seq-concatenate 'string "Hello " "world") | 865 | (seq-concatenate 'string "Hello " "world") |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index c5a6cb264d8..ff108511f23 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -508,20 +508,6 @@ filesystems generally don't honor linguistic equivalence of strings | |||
| 508 | that collation implements. | 508 | that collation implements. |
| 509 | @end defun | 509 | @end defun |
| 510 | 510 | ||
| 511 | @defun string-prefix-p string1 string2 &optional ignore-case | ||
| 512 | This function returns non-@code{nil} if @var{string1} is a prefix of | ||
| 513 | @var{string2}; i.e., if @var{string2} starts with @var{string1}. If | ||
| 514 | the optional argument @var{ignore-case} is non-@code{nil}, the | ||
| 515 | comparison ignores case differences. | ||
| 516 | @end defun | ||
| 517 | |||
| 518 | @defun string-suffix-p suffix string &optional ignore-case | ||
| 519 | This function returns non-@code{nil} if @var{suffix} is a suffix of | ||
| 520 | @var{string}; i.e., if @var{string} ends with @var{suffix}. If the | ||
| 521 | optional argument @var{ignore-case} is non-@code{nil}, the comparison | ||
| 522 | ignores case differences. | ||
| 523 | @end defun | ||
| 524 | |||
| 525 | @cindex lexical comparison of strings | 511 | @cindex lexical comparison of strings |
| 526 | @defun string< string1 string2 | 512 | @defun string< string1 string2 |
| 527 | @c (findex string< causes problems for permuted index!!) | 513 | @c (findex string< causes problems for permuted index!!) |
diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi index 8c1ec3d85e2..36a2795d1dd 100644 --- a/doc/lispref/symbols.texi +++ b/doc/lispref/symbols.texi | |||
| @@ -157,7 +157,7 @@ that cell can hold only one Lisp object at any given time. | |||
| 157 | both as a variable (e.g., with @code{defvar}) and as a function or | 157 | both as a variable (e.g., with @code{defvar}) and as a function or |
| 158 | macro (e.g., with @code{defun}). Such definitions do not conflict. | 158 | macro (e.g., with @code{defun}). Such definitions do not conflict. |
| 159 | 159 | ||
| 160 | These definition also act as guides for programming tools. For | 160 | These definitions also act as guides for programming tools. For |
| 161 | example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers | 161 | example, the @kbd{C-h f} and @kbd{C-h v} commands create help buffers |
| 162 | containing links to the relevant variable, function, or macro | 162 | containing links to the relevant variable, function, or macro |
| 163 | definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}. | 163 | definitions. @xref{Name Help,,, emacs, The GNU Emacs Manual}. |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 2823cc55214..4dc671c41f3 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1620,9 +1620,9 @@ window or too small to ordinarily split. Furthermore, subsequently | |||
| 1620 | resizing or deleting @var{window} may resize all other windows in its | 1620 | resizing or deleting @var{window} may resize all other windows in its |
| 1621 | combination. | 1621 | combination. |
| 1622 | 1622 | ||
| 1623 | The default is @code{nil}. Other values are reserved for future use. | 1623 | The default is @code{nil}. Other values are reserved for future use. A |
| 1624 | The value of this variable is ignored when | 1624 | specific split operation may ignore the value of this variable if it is |
| 1625 | @code{window-combination-limit} is non-@code{nil}. | 1625 | affected by a non-@code{nil} value of @code{window-combination-limit}. |
| 1626 | @end defopt | 1626 | @end defopt |
| 1627 | 1627 | ||
| 1628 | To illustrate the effect of @code{window-combination-resize}, consider | 1628 | To illustrate the effect of @code{window-combination-resize}, consider |
diff --git a/src/window.c b/src/window.c index acbefcdad16..e8798f1e3ee 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -7421,8 +7421,8 @@ same combination. | |||
| 7421 | 7421 | ||
| 7422 | Other values are reserved for future use. | 7422 | Other values are reserved for future use. |
| 7423 | 7423 | ||
| 7424 | This variable takes no effect if the variable `window-combination-limit' is | 7424 | A specific split operation may ignore the value of this variable if it |
| 7425 | non-nil. */); | 7425 | is affected by a non-nil value of `window-combination-limit'. */); |
| 7426 | Vwindow_combination_resize = Qnil; | 7426 | Vwindow_combination_resize = Qnil; |
| 7427 | 7427 | ||
| 7428 | DEFVAR_LISP ("window-combination-limit", Vwindow_combination_limit, | 7428 | DEFVAR_LISP ("window-combination-limit", Vwindow_combination_limit, |