diff options
| author | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
| commit | 77f96e2cc1da30730f79d5935eaf5d23e53f37ad (patch) | |
| tree | 3def25baacae463f3e48d7b233f26a44a71aef1d | |
| parent | dec525017013b448f23eb645b11068862c1038d6 (diff) | |
| parent | 9f4c945b5cfb2e26a65ca10453591536c8fb0ff4 (diff) | |
| download | emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.tar.gz emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.zip | |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
| -rw-r--r-- | doc/emacs/basic.texi | 16 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 23 | ||||
| -rw-r--r-- | doc/emacs/kmacro.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/mark.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/regs.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 18 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 12 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 23 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 83 | ||||
| -rw-r--r-- | lisp/display-line-numbers.el | 4 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 | ||||
| -rw-r--r-- | lisp/linum.el | 4 | ||||
| -rw-r--r-- | lisp/term/ns-win.el | 4 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 9 | ||||
| -rw-r--r-- | nt/README.W32 | 2 | ||||
| -rw-r--r-- | src/fns.c | 8 |
18 files changed, 139 insertions, 104 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 86403b7a23d..d0bd46c35fc 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi | |||
| @@ -113,13 +113,13 @@ just like digits. Case is ignored. | |||
| 113 | @cindex curved quotes, inserting | 113 | @cindex curved quotes, inserting |
| 114 | A few common Unicode characters can be inserted via a command | 114 | A few common Unicode characters can be inserted via a command |
| 115 | starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘} | 115 | starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘} |
| 116 | which is Unicode code-point @code{U+2018} LEFT SINGLE QUOTATION MARK, | 116 | which is Unicode code-point U+2018 @sc{left single quotation mark}, |
| 117 | sometimes called a left single ``curved quote'' or ``curly quote''. | 117 | sometimes called a left single ``curved quote'' or ``curly quote''. |
| 118 | Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the | 118 | Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the |
| 119 | curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working | 119 | curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working |
| 120 | Alt key acts like @kbd{C-x 8}; e.g., @kbd{A-[} acts like @kbd{C-x 8 [} | 120 | Alt key acts like @kbd{C-x 8}; e.g., @kbd{A-[} acts like @kbd{C-x 8 [} |
| 121 | and inserts `. To see which characters have @kbd{C-x 8} shorthands, | 121 | and inserts @t{‘}. To see which characters have @kbd{C-x 8} |
| 122 | type @kbd{C-x 8 C-h}. | 122 | shorthands, type @kbd{C-x 8 C-h}. |
| 123 | 123 | ||
| 124 | Alternatively, you can use the command @kbd{C-x 8 @key{RET}} | 124 | Alternatively, you can use the command @kbd{C-x 8 @key{RET}} |
| 125 | (@code{insert-char}). This prompts for the Unicode name or code-point | 125 | (@code{insert-char}). This prompts for the Unicode name or code-point |
| @@ -146,9 +146,9 @@ the buffer. | |||
| 146 | how many copies of the character to insert (@pxref{Arguments}). | 146 | how many copies of the character to insert (@pxref{Arguments}). |
| 147 | 147 | ||
| 148 | In addition, in some contexts, if you type a quotation using grave | 148 | In addition, in some contexts, if you type a quotation using grave |
| 149 | accent and apostrophe @t{`like this'}, it is converted to a form | 149 | accent and apostrophe @kbd{`like this'}, it is converted to a form |
| 150 | @t{‘like this’} using single quotation marks, even without @kbd{C-x 8} | 150 | @t{‘like this’} using single quotation marks, even without @kbd{C-x 8} |
| 151 | commands. Similarly, typing a quotation @t{``like this''} using | 151 | commands. Similarly, typing a quotation @kbd{``like this''} using |
| 152 | double grave accent and apostrophe converts it to a form @t{“like | 152 | double grave accent and apostrophe converts it to a form @t{“like |
| 153 | this”} using double quotation marks. @xref{Quotation Marks}. | 153 | this”} using double quotation marks. @xref{Quotation Marks}. |
| 154 | 154 | ||
| @@ -816,9 +816,9 @@ more convenient, and they are documented in that command's | |||
| 816 | documentation string. | 816 | documentation string. |
| 817 | 817 | ||
| 818 | We use the term @dfn{prefix argument} to emphasize that you type | 818 | We use the term @dfn{prefix argument} to emphasize that you type |
| 819 | such arguments before the command, and to distinguish them from | 819 | such arguments @emph{before} the command, and to distinguish them from |
| 820 | minibuffer arguments (@pxref{Minibuffer}), which are entered after | 820 | minibuffer arguments (@pxref{Minibuffer}), which are entered |
| 821 | invoking the command. | 821 | @emph{after} invoking the command. |
| 822 | 822 | ||
| 823 | On graphical displays, @kbd{C-0}, @kbd{C-1}, etc.@ act the same as | 823 | On graphical displays, @kbd{C-0}, @kbd{C-1}, etc.@ act the same as |
| 824 | @kbd{M-0}, @kbd{M-1}, etc. | 824 | @kbd{M-0}, @kbd{M-1}, etc. |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 4985fabd541..b9449f812a2 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -199,12 +199,13 @@ screen lines between point and the top or bottom of the window | |||
| 199 | (@pxref{Auto Scrolling}). | 199 | (@pxref{Auto Scrolling}). |
| 200 | 200 | ||
| 201 | You can also give @kbd{C-l} a prefix argument. A plain prefix | 201 | You can also give @kbd{C-l} a prefix argument. A plain prefix |
| 202 | argument, @kbd{C-u C-l}, simply recenters point. A positive argument | 202 | argument, @kbd{C-u C-l}, simply recenters the line showing point. A |
| 203 | @var{n} puts point @var{n} lines down from the top of the window. An | 203 | positive argument @var{n} moves line showing point @var{n} lines down |
| 204 | argument of zero puts point on the topmost line. A negative argument | 204 | from the top of the window. An argument of zero moves point's line to |
| 205 | @var{-n} puts point @var{n} lines from the bottom of the window. When | 205 | the top of the window. A negative argument @var{-n} moves point's |
| 206 | given an argument, @kbd{C-l} does not clear the screen or cycle | 206 | line @var{n} lines from the bottom of the window. When given an |
| 207 | through different screen positions. | 207 | argument, @kbd{C-l} does not clear the screen or cycle through |
| 208 | different screen positions. | ||
| 208 | 209 | ||
| 209 | @vindex recenter-redisplay | 210 | @vindex recenter-redisplay |
| 210 | If the variable @code{recenter-redisplay} has a non-@code{nil} | 211 | If the variable @code{recenter-redisplay} has a non-@code{nil} |
| @@ -1535,9 +1536,9 @@ a new line, while the tab character (@code{U+0009}) is displayed as a | |||
| 1535 | space that extends to the next tab stop column (normally every 8 | 1536 | space that extends to the next tab stop column (normally every 8 |
| 1536 | columns). The number of spaces per tab is controlled by the | 1537 | columns). The number of spaces per tab is controlled by the |
| 1537 | buffer-local variable @code{tab-width}, which must have an integer | 1538 | buffer-local variable @code{tab-width}, which must have an integer |
| 1538 | value between 1 and 1000, inclusive. Note that how the tab character | 1539 | value between 1 and 1000, inclusive. Note that the way the tab |
| 1539 | in the buffer is displayed has nothing to do with the definition of | 1540 | character in the buffer is displayed has nothing to do with the |
| 1540 | @key{TAB} as a command. | 1541 | definition of @key{TAB} as a command. |
| 1541 | 1542 | ||
| 1542 | Other @acronym{ASCII} control characters, whose codes are below | 1543 | Other @acronym{ASCII} control characters, whose codes are below |
| 1543 | @code{U+0020} (octal 40, decimal 32), are displayed as a caret | 1544 | @code{U+0020} (octal 40, decimal 32), are displayed as a caret |
| @@ -1607,11 +1608,11 @@ curved quotes. You can influence or inhibit this translation by | |||
| 1607 | customizing the user option @code{text-quoting-style} (@pxref{Keys in | 1608 | customizing the user option @code{text-quoting-style} (@pxref{Keys in |
| 1608 | Documentation,,, elisp, The Emacs Lisp Reference Manual}). | 1609 | Documentation,,, elisp, The Emacs Lisp Reference Manual}). |
| 1609 | 1610 | ||
| 1610 | If the curved quotes @samp{‘}, @samp{’}, @samp{“}, and @samp{”} are | 1611 | If the curved quotes @t{‘}, @t{’}, @t{“}, and @t{”} are |
| 1611 | known to look just like @acronym{ASCII} characters, they are shown | 1612 | known to look just like @acronym{ASCII} characters, they are shown |
| 1612 | with the @code{homoglyph} face. Curved quotes that are known not to | 1613 | with the @code{homoglyph} face. Curved quotes that are known not to |
| 1613 | be displayable are shown as their @acronym{ASCII} approximations | 1614 | be displayable are shown as their @acronym{ASCII} approximations |
| 1614 | @samp{`}, @samp{'}, and @samp{"} with the @code{homoglyph} face. | 1615 | @t{`}, @t{'}, and @t{"} with the @code{homoglyph} face. |
| 1615 | 1616 | ||
| 1616 | @node Cursor Display | 1617 | @node Cursor Display |
| 1617 | @section Displaying the Cursor | 1618 | @section Displaying the Cursor |
diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi index 65387ae783c..3710611c763 100644 --- a/doc/emacs/kmacro.texi +++ b/doc/emacs/kmacro.texi | |||
| @@ -391,7 +391,7 @@ macro definition is executed. It is up to you to leave point and the | |||
| 391 | text in a state such that the rest of the macro will do what you want. | 391 | text in a state such that the rest of the macro will do what you want. |
| 392 | @end table | 392 | @end table |
| 393 | 393 | ||
| 394 | @kbd{C-u C-x q}, which is @kbd{C-x q} with a numeric argument, | 394 | @kbd{C-u C-x q}, which is @kbd{C-x q} with a prefix argument, |
| 395 | performs a completely different function. It enters a recursive edit | 395 | performs a completely different function. It enters a recursive edit |
| 396 | reading input from the keyboard, both when you type it during the | 396 | reading input from the keyboard, both when you type it during the |
| 397 | definition of the macro, and when it is executed from the macro. During | 397 | definition of the macro, and when it is executed from the macro. During |
| @@ -472,7 +472,7 @@ later with @code{load-file} (@pxref{Lisp Libraries}). If the file you | |||
| 472 | save in is your init file @file{~/.emacs} (@pxref{Init File}) then the | 472 | save in is your init file @file{~/.emacs} (@pxref{Init File}) then the |
| 473 | macro will be defined each time you run Emacs. | 473 | macro will be defined each time you run Emacs. |
| 474 | 474 | ||
| 475 | If you give @code{insert-kbd-macro} a numeric argument, it makes | 475 | If you give @code{insert-kbd-macro} a prefix argument, it makes |
| 476 | additional Lisp code to record the keys (if any) that you have bound | 476 | additional Lisp code to record the keys (if any) that you have bound |
| 477 | to @var{macroname}, so that the macro will be reassigned the same keys | 477 | to @var{macroname}, so that the macro will be reassigned the same keys |
| 478 | when you load the file. | 478 | when you load the file. |
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 5ffe7264a35..8ad5fc7c9e4 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -420,9 +420,9 @@ commands. | |||
| 420 | The default behavior of the mark and region, in which setting the | 420 | The default behavior of the mark and region, in which setting the |
| 421 | mark activates it and highlights the region, is called Transient Mark | 421 | mark activates it and highlights the region, is called Transient Mark |
| 422 | mode. This is a minor mode that is enabled by default. It can be | 422 | mode. This is a minor mode that is enabled by default. It can be |
| 423 | toggled with @kbd{M-x transient-mark-mode}, or with the @samp{Active | 423 | toggled with @kbd{M-x transient-mark-mode}, or with the |
| 424 | Region Highlighting} menu item in the @samp{Options} menu. Turning it | 424 | @samp{Highlight Active Region} menu item in the @samp{Options} menu. |
| 425 | off switches Emacs to an alternative mode of operation: | 425 | Turning it off switches Emacs to an alternative mode of operation: |
| 426 | 426 | ||
| 427 | @itemize @bullet | 427 | @itemize @bullet |
| 428 | @item | 428 | @item |
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi index 1881b49627e..37026946477 100644 --- a/doc/emacs/regs.texi +++ b/doc/emacs/regs.texi | |||
| @@ -154,7 +154,7 @@ during the collection process, you can use the following setting. | |||
| 154 | @findex insert-register | 154 | @findex insert-register |
| 155 | @kbd{C-x r i @var{r}} inserts in the buffer the text from register | 155 | @kbd{C-x r i @var{r}} inserts in the buffer the text from register |
| 156 | @var{r}. Normally it leaves point after the text and sets the mark | 156 | @var{r}. Normally it leaves point after the text and sets the mark |
| 157 | before, without activating it. With a numeric argument, it instead | 157 | before, without activating it. With a prefix argument, it instead |
| 158 | puts point before the text and the mark after. | 158 | puts point before the text and the mark after. |
| 159 | 159 | ||
| 160 | @node Rectangle Registers | 160 | @node Rectangle Registers |
| @@ -170,7 +170,7 @@ in the buffer. | |||
| 170 | @kindex C-x r r | 170 | @kindex C-x r r |
| 171 | @item C-x r r @var{r} | 171 | @item C-x r r @var{r} |
| 172 | Copy the region-rectangle into register @var{r} | 172 | Copy the region-rectangle into register @var{r} |
| 173 | (@code{copy-rectangle-to-register}). With numeric argument, delete it as | 173 | (@code{copy-rectangle-to-register}). With prefix argument, delete it as |
| 174 | well. | 174 | well. |
| 175 | @item C-x r i @var{r} | 175 | @item C-x r i @var{r} |
| 176 | Insert the rectangle stored in register @var{r} (if it contains a | 176 | Insert the rectangle stored in register @var{r} (if it contains a |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index a1c987c1252..c61578bab76 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -847,7 +847,7 @@ Expressions,,, elisp, The Emacs Lisp Reference Manual}, for additional | |||
| 847 | features used mainly in Lisp programs. | 847 | features used mainly in Lisp programs. |
| 848 | 848 | ||
| 849 | Regular expressions have a syntax in which a few characters are | 849 | Regular expressions have a syntax in which a few characters are |
| 850 | special constructs and the rest are @dfn{ordinary}. An ordinary | 850 | @dfn{special constructs} and the rest are @dfn{ordinary}. An ordinary |
| 851 | character matches that same character and nothing else. The special | 851 | character matches that same character and nothing else. The special |
| 852 | characters are @samp{$^.*+?[\}. The character @samp{]} is special if | 852 | characters are @samp{$^.*+?[\}. The character @samp{]} is special if |
| 853 | it ends a character alternative (see below). The character @samp{-} | 853 | it ends a character alternative (see below). The character @samp{-} |
| @@ -1328,14 +1328,14 @@ of its accented cousins like @code{@"a} and @code{@'a}, i.e., the | |||
| 1328 | match disregards the diacritics that distinguish these | 1328 | match disregards the diacritics that distinguish these |
| 1329 | variants. In addition, @code{a} matches other characters that | 1329 | variants. In addition, @code{a} matches other characters that |
| 1330 | resemble it, or have it as part of their graphical representation, | 1330 | resemble it, or have it as part of their graphical representation, |
| 1331 | such as @sc{u+249c parenthesized latin small letter a} and @sc{u+2100 | 1331 | such as U+249C @sc{parenthesized latin small letter a} and U+2100 |
| 1332 | account of} (which looks like a small @code{a} over @code{c}). | 1332 | @sc{account of} (which looks like a small @code{a} over @code{c}). |
| 1333 | Similarly, the @acronym{ASCII} double-quote character @code{"} matches | 1333 | Similarly, the @acronym{ASCII} double-quote character @code{"} matches |
| 1334 | all the other variants of double quotes defined by the Unicode | 1334 | all the other variants of double quotes defined by the Unicode |
| 1335 | standard. Finally, character folding can make a sequence of one or | 1335 | standard. Finally, character folding can make a sequence of one or |
| 1336 | more characters match another sequence of a different length: for | 1336 | more characters match another sequence of a different length: for |
| 1337 | example, the sequence of two characters @code{ff} matches @sc{u+fb00 | 1337 | example, the sequence of two characters @code{ff} matches U+FB00 |
| 1338 | latin small ligature ff}. Character sequences that are not identical, | 1338 | @sc{latin small ligature ff}. Character sequences that are not identical, |
| 1339 | but match under character folding are known as @dfn{equivalent | 1339 | but match under character folding are known as @dfn{equivalent |
| 1340 | character sequences}. | 1340 | character sequences}. |
| 1341 | 1341 | ||
| @@ -1483,8 +1483,7 @@ multiple digits, and the value of @samp{\@var{d}} is @code{nil} if the | |||
| 1483 | @samp{\#} here too stands for the number of already-completed | 1483 | @samp{\#} here too stands for the number of already-completed |
| 1484 | replacements. | 1484 | replacements. |
| 1485 | 1485 | ||
| 1486 | Repeating our example to exchange @samp{x} and @samp{y}, we can thus | 1486 | For example, we can exchange @samp{x} and @samp{y} this way: |
| 1487 | do it also this way: | ||
| 1488 | 1487 | ||
| 1489 | @example | 1488 | @example |
| 1490 | M-x replace-regexp @key{RET} \(x\)\|y @key{RET} | 1489 | M-x replace-regexp @key{RET} \(x\)\|y @key{RET} |
| @@ -1661,8 +1660,9 @@ replacement has already been made, @key{DEL} and @key{SPC} are | |||
| 1661 | equivalent in this situation; both move to the next occurrence. | 1660 | equivalent in this situation; both move to the next occurrence. |
| 1662 | 1661 | ||
| 1663 | You can type @kbd{C-r} at this point (see below) to alter the replaced | 1662 | You can type @kbd{C-r} at this point (see below) to alter the replaced |
| 1664 | text. You can also type @kbd{C-x u} to undo the replacement; this exits | 1663 | text. You can also undo the replacement with the @code{undo} command |
| 1665 | the @code{query-replace}, so if you want to do further replacement you | 1664 | (e.g., type @kbd{C-x u}; @pxref{Undo}); this exits the |
| 1665 | @code{query-replace}, so if you want to do further replacement you | ||
| 1666 | must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart | 1666 | must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart |
| 1667 | (@pxref{Repetition}). | 1667 | (@pxref{Repetition}). |
| 1668 | 1668 | ||
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 7892b346d2a..1928240a878 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -428,10 +428,10 @@ using straight apostrophes @t{'like this'} or double-quotes @t{"like | |||
| 428 | this"}. Another common way is the curved quote convention, which uses | 428 | this"}. Another common way is the curved quote convention, which uses |
| 429 | left and right single or double quotation marks `@t{like this}' or | 429 | left and right single or double quotation marks `@t{like this}' or |
| 430 | ``@t{like this}''@footnote{ | 430 | ``@t{like this}''@footnote{ |
| 431 | The curved single quote characters are U+2018 LEFT SINGLE QUOTATION | 431 | The curved single quote characters are U+2018 @sc{left single quotation |
| 432 | MARK and U+2018 RIGHT SINGLE QUOTATION MARK; the curved double quotes | 432 | mark} and U+2018 @sc{right single quotation mark}; the curved double quotes |
| 433 | are U+201C LEFT DOUBLE QUOTATION MARK and U+201D RIGHT DOUBLE | 433 | are U+201C @sc{left double quotation mark} and U+201D @sc{right double |
| 434 | QUOTATION MARK. On text terminals which cannot display these | 434 | quotation mark}. On text terminals which cannot display these |
| 435 | characters, the Info reader might show them as the typewriter ASCII | 435 | characters, the Info reader might show them as the typewriter ASCII |
| 436 | quote characters. | 436 | quote characters. |
| 437 | }. In text files, typewriter quotes are simple and | 437 | }. In text files, typewriter quotes are simple and |
| @@ -439,8 +439,8 @@ portable; curved quotes are less ambiguous and typically look nicer. | |||
| 439 | 439 | ||
| 440 | @vindex electric-quote-chars | 440 | @vindex electric-quote-chars |
| 441 | Electric Quote mode makes it easier to type curved quotes. As you | 441 | Electric Quote mode makes it easier to type curved quotes. As you |
| 442 | type characters it optionally converts @t{`} to ‘, @t{'} to ', | 442 | type characters it optionally converts @kbd{`} to @t{‘}, @kbd{'} to @t{’}, |
| 443 | @t{``} to ``, and @t{''} to ''. It's possible to change the | 443 | @kbd{``} to @t{“}, and @kbd{''} to @t{”}. It's possible to change the |
| 444 | default quotes listed above, by customizing the variable | 444 | default quotes listed above, by customizing the variable |
| 445 | @code{electric-quote-chars}, a list of four characters, where the | 445 | @code{electric-quote-chars}, a list of four characters, where the |
| 446 | items correspond to the left single quote, the right single quote, the | 446 | items correspond to the left single quote, the right single quote, the |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 82af02fc384..93c5217c362 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -7328,9 +7328,9 @@ Non-@acronym{ASCII}, non-printing characters @code{U+0080} to | |||
| 7328 | @samp{\230}). | 7328 | @samp{\230}). |
| 7329 | 7329 | ||
| 7330 | @item format-control | 7330 | @item format-control |
| 7331 | Characters of Unicode General Category [Cf], such as @samp{U+200E} | 7331 | Characters of Unicode General Category [Cf], such as U+200E |
| 7332 | (Left-to-Right Mark), but excluding characters that have graphic | 7332 | @sc{left-to-right mark}, but excluding characters that have graphic |
| 7333 | images, such as @samp{U+00AD} (Soft Hyphen). | 7333 | images, such as U+00AD @sc{soft hyphen}. |
| 7334 | 7334 | ||
| 7335 | @item no-font | 7335 | @item no-font |
| 7336 | Characters for which there is no suitable font, or which cannot be | 7336 | Characters for which there is no suitable font, or which cannot be |
| @@ -7713,12 +7713,12 @@ problem: | |||
| 7713 | 7713 | ||
| 7714 | @itemize @minus | 7714 | @itemize @minus |
| 7715 | @item | 7715 | @item |
| 7716 | Append the special character @code{U+200E}, LEFT-TO-RIGHT MARK, or | 7716 | Append the special character U+200E @sc{left-to-right mark}, or |
| 7717 | @acronym{LRM}, to the end of each field that may have bidirectional | 7717 | @acronym{LRM}, to the end of each field that may have bidirectional |
| 7718 | content, or prepend it to the beginning of the following field. The | 7718 | content, or prepend it to the beginning of the following field. The |
| 7719 | function @code{bidi-string-mark-left-to-right}, described below, comes | 7719 | function @code{bidi-string-mark-left-to-right}, described below, comes |
| 7720 | in handy for this purpose. (In a right-to-left paragraph, use | 7720 | in handy for this purpose. (In a right-to-left paragraph, use |
| 7721 | @code{U+200F}, RIGHT-TO-LEFT MARK, or @acronym{RLM}, instead.) This | 7721 | U+200F @sc{right-to-left mark}, or @acronym{RLM}, instead.) This |
| 7722 | is one of the solutions recommended by the UBA. | 7722 | is one of the solutions recommended by the UBA. |
| 7723 | 7723 | ||
| 7724 | @item | 7724 | @item |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 8b0750abbf6..a56a365e9ea 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -550,8 +550,8 @@ characters whose @code{Numeric_Type} is @samp{Numeric}. The value of | |||
| 550 | this property is a number. Examples of characters that have this | 550 | this property is a number. Examples of characters that have this |
| 551 | property include fractions, subscripts, superscripts, Roman numerals, | 551 | property include fractions, subscripts, superscripts, Roman numerals, |
| 552 | currency numerators, and encircled numbers. For example, the value of | 552 | currency numerators, and encircled numbers. For example, the value of |
| 553 | this property for the character @code{U+2155} (@sc{vulgar fraction one | 553 | this property for the character U+2155 @sc{vulgar fraction one |
| 554 | fifth}) is @code{0.2}. For characters that don't have any numeric | 554 | fifth} is @code{0.2}. For characters that don't have any numeric |
| 555 | value, and for unassigned codepoints, the value is @code{nil}, which | 555 | value, and for unassigned codepoints, the value is @code{nil}, which |
| 556 | means @acronym{NaN}. | 556 | means @acronym{NaN}. |
| 557 | 557 | ||
| @@ -622,23 +622,24 @@ is @code{nil}, which means the character itself. | |||
| 622 | @item special-uppercase | 622 | @item special-uppercase |
| 623 | Corresponds to Unicode language- and context-independent special upper-casing | 623 | Corresponds to Unicode language- and context-independent special upper-casing |
| 624 | rules. The value of this property is a string (which may be empty). For | 624 | rules. The value of this property is a string (which may be empty). For |
| 625 | example mapping for @code{U+00DF} (@sc{latin small letter sharp s}) is | 625 | example mapping for U+00DF @sc{latin small letter sharp s} is |
| 626 | @code{"SS"}. For characters with no special mapping, the value is @code{nil} | 626 | @code{"SS"}. For characters with no special mapping, the value is @code{nil} |
| 627 | which means @code{uppercase} property needs to be consulted instead. | 627 | which means @code{uppercase} property needs to be consulted instead. |
| 628 | 628 | ||
| 629 | @item special-lowercase | 629 | @item special-lowercase |
| 630 | Corresponds to Unicode language- and context-independent special lower-casing | 630 | Corresponds to Unicode language- and context-independent special |
| 631 | rules. The value of this property is a string (which may be empty). For | 631 | lower-casing rules. The value of this property is a string (which may |
| 632 | example mapping for @code{U+0130} (@sc{latin capital letter i with dot above}) | 632 | be empty). For example mapping for U+0130 @sc{latin capital letter i |
| 633 | the value is @code{"i\u0307"} (i.e. 2-character string consisting of @sc{latin | 633 | with dot above} the value is @code{"i\u0307"} (i.e. 2-character string |
| 634 | small letter i} followed by @sc{combining dot above}). For characters with no | 634 | consisting of @sc{latin small letter i} followed by U+0307 |
| 635 | special mapping, the value is @code{nil} which means @code{lowercase} property | 635 | @sc{combining dot above}). For characters with no special mapping, |
| 636 | needs to be consulted instead. | 636 | the value is @code{nil} which means @code{lowercase} property needs to |
| 637 | be consulted instead. | ||
| 637 | 638 | ||
| 638 | @item special-titlecase | 639 | @item special-titlecase |
| 639 | Corresponds to Unicode unconditional special title-casing rules. The value of | 640 | Corresponds to Unicode unconditional special title-casing rules. The value of |
| 640 | this property is a string (which may be empty). For example mapping for | 641 | this property is a string (which may be empty). For example mapping for |
| 641 | @code{U+FB01} (@sc{latin small ligature fi}) the value is @code{"Fi"}. For | 642 | U+FB01 @sc{latin small ligature fi} the value is @code{"Fi"}. For |
| 642 | characters with no special mapping, the value is @code{nil} which means | 643 | characters with no special mapping, the value is @code{nil} which means |
| 643 | @code{titlecase} property needs to be consulted instead. | 644 | @code{titlecase} property needs to be consulted instead. |
| 644 | @end table | 645 | @end table |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index b73401a62a2..ebc31c597e6 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1688,7 +1688,7 @@ how to do these things: | |||
| 1688 | (save-excursion | 1688 | (save-excursion |
| 1689 | ;; @r{Insert the text, advancing the process marker.} | 1689 | ;; @r{Insert the text, advancing the process marker.} |
| 1690 | (goto-char (process-mark proc)) | 1690 | (goto-char (process-mark proc)) |
| 1691 | (insert-before-markers string) | 1691 | (insert string) |
| 1692 | (set-marker (process-mark proc) (point))) | 1692 | (set-marker (process-mark proc) (point))) |
| 1693 | (if moving (goto-char (process-mark proc))))))) | 1693 | (if moving (goto-char (process-mark proc))))))) |
| 1694 | @end group | 1694 | @end group |
| @@ -1704,7 +1704,12 @@ text arrives, you could insert a line like the following just before the | |||
| 1704 | 1704 | ||
| 1705 | To force point to the end of the new output, no matter where it was | 1705 | To force point to the end of the new output, no matter where it was |
| 1706 | previously, eliminate the variable @code{moving} from the example and | 1706 | previously, eliminate the variable @code{moving} from the example and |
| 1707 | call @code{goto-char} unconditionally. | 1707 | call @code{goto-char} unconditionally. Note that this doesn't |
| 1708 | necessarily move the window point. The default filter actually uses | ||
| 1709 | @code{insert-before-markers} which moves all markers, including the | ||
| 1710 | window point. This may move unrelated markers, so it's generally | ||
| 1711 | better to move the window point explicitly, or set its insertion type | ||
| 1712 | to @code{t} (@pxref{Window Point}). | ||
| 1708 | 1713 | ||
| 1709 | @ignore | 1714 | @ignore |
| 1710 | In earlier Emacs versions, every filter function that did regular | 1715 | In earlier Emacs versions, every filter function that did regular |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 96e42a148c5..5e644138109 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1295,8 +1295,10 @@ the selected window. | |||
| 1295 | 1295 | ||
| 1296 | If deleting the window would leave no more windows in the window tree | 1296 | If deleting the window would leave no more windows in the window tree |
| 1297 | (e.g., if it is the only live window in the frame) or all remaining | 1297 | (e.g., if it is the only live window in the frame) or all remaining |
| 1298 | windows on @var{window}'s frame are side windows (@pxref{Side Windows}), | 1298 | windows on @var{window}'s frame are side windows (@pxref{Side |
| 1299 | an error is signaled. | 1299 | Windows}), an error is signaled. If @var{window} is part of an atomic |
| 1300 | window (@pxref{Atomic Windows}), this function tries to delete the | ||
| 1301 | root of that atomic window instead. | ||
| 1300 | 1302 | ||
| 1301 | By default, the space taken up by @var{window} is given to one of its | 1303 | By default, the space taken up by @var{window} is given to one of its |
| 1302 | adjacent sibling windows, if any. However, if the variable | 1304 | adjacent sibling windows, if any. However, if the variable |
| @@ -1315,10 +1317,13 @@ Parameters}. | |||
| 1315 | @end deffn | 1317 | @end deffn |
| 1316 | 1318 | ||
| 1317 | @deffn Command delete-other-windows &optional window | 1319 | @deffn Command delete-other-windows &optional window |
| 1318 | This function makes @var{window} fill its frame, deleting other windows | 1320 | This function makes @var{window} fill its frame, deleting other |
| 1319 | as necessary. If @var{window} is omitted or @code{nil}, it defaults to | 1321 | windows as necessary. If @var{window} is omitted or @code{nil}, it |
| 1320 | the selected window. An error is signaled if @var{window} is a side | 1322 | defaults to the selected window. An error is signaled if @var{window} |
| 1321 | window (@pxref{Side Windows}). The return value is @code{nil}. | 1323 | is a side window (@pxref{Side Windows}). If @var{window} is part of |
| 1324 | an atomic window (@pxref{Atomic Windows}), this function tries to make | ||
| 1325 | the root of that atomic window fill its frame. The return | ||
| 1326 | value is @code{nil}. | ||
| 1322 | 1327 | ||
| 1323 | The behavior of this function may be altered by the window parameters of | 1328 | The behavior of this function may be altered by the window parameters of |
| 1324 | @var{window}, so long as the variable @code{ignore-window-parameters} is | 1329 | @var{window}, so long as the variable @code{ignore-window-parameters} is |
| @@ -4007,9 +4012,8 @@ described next to deal with the window and its buffer. | |||
| 4007 | This function handles @var{window} and its buffer after quitting. The | 4012 | This function handles @var{window} and its buffer after quitting. The |
| 4008 | optional argument @var{window} must be a live window and defaults to | 4013 | optional argument @var{window} must be a live window and defaults to |
| 4009 | the selected one. The function's behavior is determined by the four | 4014 | the selected one. The function's behavior is determined by the four |
| 4010 | elements of the list specified by the @code{quit-restore} window | 4015 | elements of the list specified by @var{window}'s @code{quit-restore} |
| 4011 | parameter (@pxref{Window Parameters}), which is set to @code{nil} | 4016 | parameter (@pxref{Window Parameters}). |
| 4012 | afterwards. | ||
| 4013 | 4017 | ||
| 4014 | The first element of the @code{quit-restore} parameter is one of the | 4018 | The first element of the @code{quit-restore} parameter is one of the |
| 4015 | symbols @code{window}, meaning that the window has been specially | 4019 | symbols @code{window}, meaning that the window has been specially |
| @@ -4018,35 +4022,40 @@ been created; @code{same}, the window has only ever displayed this | |||
| 4018 | buffer; or @code{other}, the window showed another buffer before. | 4022 | buffer; or @code{other}, the window showed another buffer before. |
| 4019 | @code{frame} and @code{window} affect how the window is quit, while | 4023 | @code{frame} and @code{window} affect how the window is quit, while |
| 4020 | @code{same} and @code{other} affect the redisplay of buffers | 4024 | @code{same} and @code{other} affect the redisplay of buffers |
| 4021 | previously shown in this window. | 4025 | previously shown in @var{window}. |
| 4022 | 4026 | ||
| 4023 | The second element is either one of the symbols @code{window} or | 4027 | The parameter's second element is either one of the symbols |
| 4024 | @code{frame}, or a list whose elements are the buffer shown in the | 4028 | @code{window} or @code{frame}, or a list whose elements are the buffer |
| 4025 | window before, that buffer's window start and window point positions, | 4029 | shown in @var{window} before, that buffer's window start and window |
| 4026 | and the window's height at that time. If that buffer is still live | 4030 | point positions, and @var{window}'s height at that time. If that |
| 4027 | when the window is quit, then the function @code{quit-restore-window} | 4031 | buffer is still live when @var{window} is quit, then this function may |
| 4028 | reuses the window to display the buffer. | 4032 | reuse @var{window} to display it. |
| 4029 | 4033 | ||
| 4030 | The third element is the window selected at the time the parameter was | 4034 | The third element is the window selected at the time the parameter was |
| 4031 | created. If @code{quit-restore-window} deletes the window passed to | 4035 | created. If this function deletes @var{window}, it subsequently tries |
| 4032 | it as argument, it then tries to reselect this window. | 4036 | to reselect the window named by that element. |
| 4033 | 4037 | ||
| 4034 | The fourth element is the buffer whose display caused the creation of | 4038 | The fourth element is the buffer whose display caused the creation of |
| 4035 | this parameter. @code{quit-restore-window} deletes the specified window | 4039 | this parameter. This function may delete @var{window} if and only if |
| 4036 | only if it still shows that buffer. | 4040 | it still shows that buffer. |
| 4037 | 4041 | ||
| 4038 | The window is deleted entirely if: 1) the first element of the | 4042 | This function will try to delete @var{window} if and only if (1) the |
| 4039 | @code{quit-restore} parameter is one of 'window or 'frame, 2) the | 4043 | first element of its @code{quit-restore} parameter is either |
| 4040 | window has no history of previously-displayed buffers, and 3) the | 4044 | @code{window} or @code{frame}, (2) the window has no history of |
| 4041 | displayed buffer matches the one in the fourth element of the | 4045 | previously-displayed buffers and (3) the fourth element of the |
| 4042 | @code{quit-restore} parameter. If @var{window} is the | 4046 | @code{quit-restore} parameter specifies the buffer currently displayed |
| 4043 | only window on its frame and there are other frames on the frame's | 4047 | in @var{window}. If @var{window} is part of an atomic window |
| 4044 | terminal, the value of the optional argument @var{bury-or-kill} | 4048 | (@pxref{Atomic Windows}), it will try to delete the root of that |
| 4045 | determines how to proceed with the window. If @var{bury-or-kill} | 4049 | atomic window instead. In either case, it tries to avoid signaling an |
| 4046 | equals @code{kill}, the frame is deleted unconditionally. Otherwise, | 4050 | error when @var{window} cannot be deleted. |
| 4047 | the fate of the frame is determined by calling | 4051 | |
| 4048 | @code{frame-auto-hide-function} (see below) with that frame as sole | 4052 | If @var{window} shall be deleted, is the only window on its frame and |
| 4049 | argument. | 4053 | there are other frames on that frame's terminal, the value of the |
| 4054 | optional argument @var{bury-or-kill} determines how to proceed with | ||
| 4055 | the window. If @var{bury-or-kill} equals @code{kill}, the frame is | ||
| 4056 | deleted unconditionally. Otherwise, the fate of the frame is | ||
| 4057 | determined by calling @code{frame-auto-hide-function} (see below) with | ||
| 4058 | that frame as sole argument. | ||
| 4050 | 4059 | ||
| 4051 | If the third element of the @code{quit-restore} parameter is a list of | 4060 | If the third element of the @code{quit-restore} parameter is a list of |
| 4052 | buffer, window start (@pxref{Window Start and End}), and point | 4061 | buffer, window start (@pxref{Window Start and End}), and point |
| @@ -4057,7 +4066,8 @@ try to restore the original height of @var{window}. | |||
| 4057 | 4066 | ||
| 4058 | Otherwise, if @var{window} was previously used for displaying other | 4067 | Otherwise, if @var{window} was previously used for displaying other |
| 4059 | buffers (@pxref{Window History}), the most recent buffer in that | 4068 | buffers (@pxref{Window History}), the most recent buffer in that |
| 4060 | history will be displayed. | 4069 | history will be displayed. In either case, if @var{window} is not |
| 4070 | deleted, its @code{quit-restore} parameter is reset to @code{nil}. | ||
| 4061 | 4071 | ||
| 4062 | The optional argument @var{bury-or-kill} specifies how to deal with | 4072 | The optional argument @var{bury-or-kill} specifies how to deal with |
| 4063 | @var{window}'s buffer. The following values are handled: | 4073 | @var{window}'s buffer. The following values are handled: |
| @@ -4538,6 +4548,11 @@ parameter assigned by @code{display-buffer-in-atom-window}. Further | |||
| 4538 | parameters have to be set by the application explicitly via a | 4548 | parameters have to be set by the application explicitly via a |
| 4539 | @code{window-parameters} entry in @var{alist}. | 4549 | @code{window-parameters} entry in @var{alist}. |
| 4540 | 4550 | ||
| 4551 | Atomic windows automatically cease to exist when one of their | ||
| 4552 | constituents gets deleted. To dissolve an atomic window manually, | ||
| 4553 | reset the @code{window-atom} parameter of its constituents---the root | ||
| 4554 | of the atomic window and all its descendants. | ||
| 4555 | |||
| 4541 | The following code snippet, when applied to a single-window frame, | 4556 | The following code snippet, when applied to a single-window frame, |
| 4542 | first splits the selected window and makes the selected and the new | 4557 | first splits the selected window and makes the selected and the new |
| 4543 | window constituents of an atomic window with their parent as root. It | 4558 | window constituents of an atomic window with their parent as root. It |
diff --git a/lisp/display-line-numbers.el b/lisp/display-line-numbers.el index d38f2e69635..f17f8e5ca18 100644 --- a/lisp/display-line-numbers.el +++ b/lisp/display-line-numbers.el | |||
| @@ -92,9 +92,7 @@ the mode is on, set `display-line-numbers' directly." | |||
| 92 | 92 | ||
| 93 | (defun display-line-numbers--turn-on () | 93 | (defun display-line-numbers--turn-on () |
| 94 | "Turn on `display-line-numbers-mode'." | 94 | "Turn on `display-line-numbers-mode'." |
| 95 | (unless (or (minibufferp) | 95 | (unless (minibufferp) |
| 96 | ;; taken from linum.el | ||
| 97 | (and (daemonp) (null (frame-parameter nil 'client)))) | ||
| 98 | (display-line-numbers-mode))) | 96 | (display-line-numbers-mode))) |
| 99 | 97 | ||
| 100 | ;;;###autoload | 98 | ;;;###autoload |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index dfbda8d43e3..38cce14fd62 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1401,7 +1401,9 @@ when printing the error message." | |||
| 1401 | (defun byte-compile-callargs-warn (form) | 1401 | (defun byte-compile-callargs-warn (form) |
| 1402 | (let* ((def (or (byte-compile-fdefinition (car form) nil) | 1402 | (let* ((def (or (byte-compile-fdefinition (car form) nil) |
| 1403 | (byte-compile-fdefinition (car form) t))) | 1403 | (byte-compile-fdefinition (car form) t))) |
| 1404 | (sig (byte-compile--function-signature (or def (car form)))) | 1404 | (sig (cond (def (byte-compile--function-signature def)) |
| 1405 | ((subrp (symbol-function (car form))) | ||
| 1406 | (subr-arity (symbol-function (car form)))))) | ||
| 1405 | (ncall (length (cdr form)))) | 1407 | (ncall (length (cdr form)))) |
| 1406 | ;; Check many or unevalled from subr-arity. | 1408 | ;; Check many or unevalled from subr-arity. |
| 1407 | (if (and (cdr-safe sig) | 1409 | (if (and (cdr-safe sig) |
diff --git a/lisp/linum.el b/lisp/linum.el index 0b4b0083ed6..0a5d8bb2c0b 100644 --- a/lisp/linum.el +++ b/lisp/linum.el | |||
| @@ -119,6 +119,10 @@ Linum mode is a buffer-local minor mode." | |||
| 119 | ;; if some large buffer was under linum-mode when | 119 | ;; if some large buffer was under linum-mode when |
| 120 | ;; desktop was saved. So we disable linum-mode for | 120 | ;; desktop was saved. So we disable linum-mode for |
| 121 | ;; non-client frames in a daemon session. | 121 | ;; non-client frames in a daemon session. |
| 122 | |||
| 123 | ;; Note that nowadays, this actually doesn't show line | ||
| 124 | ;; numbers in client frames at all, because we visit the | ||
| 125 | ;; file before creating the client frame. See bug#35726. | ||
| 122 | (and (daemonp) (null (frame-parameter nil 'client)))) | 126 | (and (daemonp) (null (frame-parameter nil 'client)))) |
| 123 | (linum-mode 1))) | 127 | (linum-mode 1))) |
| 124 | 128 | ||
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 6a668b213dd..83b845b1a5a 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -745,10 +745,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |||
| 745 | (string-to-number (match-string 1 ns-version-string))))) | 745 | (string-to-number (match-string 1 ns-version-string))))) |
| 746 | ;; Appkit 1138 ~= macOS 10.7. | 746 | ;; Appkit 1138 ~= macOS 10.7. |
| 747 | (when (>= appkit-version 1138) | 747 | (when (>= appkit-version 1138) |
| 748 | (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control)))) | ||
| 749 | (put 'mouse-wheel-scroll-amount 'customized-value | ||
| 750 | (list (custom-quote (symbol-value 'mouse-wheel-scroll-amount)))) | ||
| 751 | |||
| 752 | (setq mouse-wheel-progressive-speed nil) | 748 | (setq mouse-wheel-progressive-speed nil) |
| 753 | (put 'mouse-wheel-progressive-speed 'customized-value | 749 | (put 'mouse-wheel-progressive-speed 'customized-value |
| 754 | (list (custom-quote | 750 | (list (custom-quote |
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index beb7425ce55..044b82ed1e0 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -170,6 +170,15 @@ the last file dropped is selected." | |||
| 170 | ;; new layout/language selected by the user. | 170 | ;; new layout/language selected by the user. |
| 171 | (global-set-key [language-change] 'ignore) | 171 | (global-set-key [language-change] 'ignore) |
| 172 | 172 | ||
| 173 | ;; Some Windows applications send the 'noname' (VK_NONAME) pseudo-key | ||
| 174 | ;; to prevent Windows from sleeping. We want to ignore these key | ||
| 175 | ;; events, to avoid annoying users by ringing the bell and announcing | ||
| 176 | ;; that the key is not bound. | ||
| 177 | (global-set-key [noname] 'ignore) | ||
| 178 | (global-set-key [C-noname] 'ignore) | ||
| 179 | (global-set-key [M-noname] 'ignore) | ||
| 180 | |||
| 181 | |||
| 173 | (defvar x-resource-name) | 182 | (defvar x-resource-name) |
| 174 | 183 | ||
| 175 | 184 | ||
diff --git a/nt/README.W32 b/nt/README.W32 index c04f1a6d64c..64b35f68eb5 100644 --- a/nt/README.W32 +++ b/nt/README.W32 | |||
| @@ -153,7 +153,7 @@ See the end of the file for license conditions. | |||
| 153 | instance, or you want the smallest possible Emacs), then you may use | 153 | instance, or you want the smallest possible Emacs), then you may use |
| 154 | the files emacs-VER-x86_64-no-deps.zip or | 154 | the files emacs-VER-x86_64-no-deps.zip or |
| 155 | emacs-VER-i686-no-deps.zip. The dependency files are also available | 155 | emacs-VER-i686-no-deps.zip. The dependency files are also available |
| 156 | as emacs-MVER-x86_64-no-deps.zip and emacs-MVER-i686-deps.zip. Source | 156 | as emacs-MVER-x86_64-deps.zip and emacs-MVER-i686-deps.zip. Source |
| 157 | code for these dependencies is available as | 157 | code for these dependencies is available as |
| 158 | emacs-26-deps-mingw-w64-src.zip. | 158 | emacs-26-deps-mingw-w64-src.zip. |
| 159 | 159 | ||
| @@ -2681,8 +2681,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq) | |||
| 2681 | DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, | 2681 | DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, |
| 2682 | doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. | 2682 | doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. |
| 2683 | In between each pair of results, stick in SEPARATOR. Thus, " " as | 2683 | In between each pair of results, stick in SEPARATOR. Thus, " " as |
| 2684 | SEPARATOR results in spaces between the values returned by FUNCTION. | 2684 | SEPARATOR results in spaces between the values returned by FUNCTION. |
| 2685 | SEQUENCE may be a list, a vector, a bool-vector, or a string. */) | 2685 | SEQUENCE may be a list, a vector, a bool-vector, or a string. |
| 2686 | SEPARATOR must be a string. | ||
| 2687 | FUNCTION must be a function of one argument, and must return a value | ||
| 2688 | that is a sequence of characters: either a string, or a vector or | ||
| 2689 | list of numbers that are valid character codepoints. */) | ||
| 2686 | (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) | 2690 | (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) |
| 2687 | { | 2691 | { |
| 2688 | USE_SAFE_ALLOCA; | 2692 | USE_SAFE_ALLOCA; |