diff options
| author | Glenn Morris | 2019-06-01 12:04:41 -0700 |
|---|---|---|
| committer | Glenn Morris | 2019-06-01 12:04:41 -0700 |
| commit | 17a1dae4af751c82e78991350559481e9fa42959 (patch) | |
| tree | 9d913268de49269e6116a8d368910dd6883ddb03 | |
| parent | 1860b6d57bb51cff082d4cf596bdd054f493c4cd (diff) | |
| parent | 2168165ec05aa663d41998adb518e778899a8edd (diff) | |
| download | emacs-17a1dae4af751c82e78991350559481e9fa42959.tar.gz emacs-17a1dae4af751c82e78991350559481e9fa42959.zip | |
Merge from origin/emacs-26
2168165 ; * doc/lispref/nonascii.texi (Explicit Encoding): Fix typo.
8f18d12 Improve documentation of decoding into a unibyte buffer
7681a57 Remove redundants "See" before @xref or @pxref (Bug#35793)
9bee762 ; * src/coding.c: Improve commentary. (Bug#34765)
e61349c Fix customization type of recentf-max-saved-items
# Conflicts:
# src/coding.c
| -rw-r--r-- | doc/lispref/control.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/functions.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/positions.texi | 4 | ||||
| -rw-r--r-- | doc/misc/cc-mode.texi | 6 | ||||
| -rw-r--r-- | doc/misc/dbus.texi | 4 | ||||
| -rw-r--r-- | doc/misc/dired-x.texi | 4 | ||||
| -rw-r--r-- | doc/misc/eudc.texi | 4 | ||||
| -rw-r--r-- | doc/misc/gnus-faq.texi | 2 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 6 | ||||
| -rw-r--r-- | doc/misc/org.texi | 4 | ||||
| -rw-r--r-- | doc/misc/reftex.texi | 2 | ||||
| -rw-r--r-- | lisp/recentf.el | 3 | ||||
| -rw-r--r-- | src/coding.c | 28 |
15 files changed, 49 insertions, 33 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi index 5d4184e3fb4..e308d68b75d 100644 --- a/doc/lispref/control.texi +++ b/doc/lispref/control.texi | |||
| @@ -1451,7 +1451,7 @@ Run @var{body} with @var{var} bound to each value that | |||
| 1451 | @end defmac | 1451 | @end defmac |
| 1452 | 1452 | ||
| 1453 | The Common Lisp loop facility also contains features for working with | 1453 | The Common Lisp loop facility also contains features for working with |
| 1454 | iterators. See @xref{Loop Facility,,,cl,Common Lisp Extensions}. | 1454 | iterators. @xref{Loop Facility,,,cl,Common Lisp Extensions}. |
| 1455 | 1455 | ||
| 1456 | The following piece of code demonstrates some important principles of | 1456 | The following piece of code demonstrates some important principles of |
| 1457 | working with iterators. | 1457 | working with iterators. |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 2f9d898c9b0..ab07d389282 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -2378,7 +2378,7 @@ safe. | |||
| 2378 | A form that creates temporary bindings (@code{condition-case}, | 2378 | A form that creates temporary bindings (@code{condition-case}, |
| 2379 | @code{dolist}, @code{dotimes}, @code{lambda}, @code{let}, or | 2379 | @code{dolist}, @code{dotimes}, @code{lambda}, @code{let}, or |
| 2380 | @code{let*}), if all args are safe and the symbols to be bound are not | 2380 | @code{let*}), if all args are safe and the symbols to be bound are not |
| 2381 | explicitly risky (see @pxref{File Local Variables}). | 2381 | explicitly risky (@pxref{File Local Variables}). |
| 2382 | @item | 2382 | @item |
| 2383 | An assignment using @code{add-to-list}, @code{setq}, @code{push}, or | 2383 | An assignment using @code{add-to-list}, @code{setq}, @code{push}, or |
| 2384 | @code{pop}, if all args are safe and the symbols to be assigned are | 2384 | @code{pop}, if all args are safe and the symbols to be assigned are |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 27c5d77579f..f41607c5dc0 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -3023,7 +3023,7 @@ Its value should have one of the forms described in this table. | |||
| 3023 | 3023 | ||
| 3024 | @strong{Warning:} Do not design an element of @code{font-lock-keywords} | 3024 | @strong{Warning:} Do not design an element of @code{font-lock-keywords} |
| 3025 | to match text which spans lines; this does not work reliably. | 3025 | to match text which spans lines; this does not work reliably. |
| 3026 | For details, see @xref{Multiline Font Lock}. | 3026 | For details, @pxref{Multiline Font Lock}. |
| 3027 | 3027 | ||
| 3028 | You can use @var{case-fold} in @code{font-lock-defaults} to specify | 3028 | You can use @var{case-fold} in @code{font-lock-defaults} to specify |
| 3029 | the value of @code{font-lock-keywords-case-fold-search} which says | 3029 | the value of @code{font-lock-keywords-case-fold-search} which says |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 47206a406fd..8b0750abbf6 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -1912,7 +1912,10 @@ the command returns the decoded text as a multibyte string without | |||
| 1912 | inserting it. | 1912 | inserting it. |
| 1913 | 1913 | ||
| 1914 | If decoded text is inserted in some buffer, this command returns the | 1914 | If decoded text is inserted in some buffer, this command returns the |
| 1915 | length of the decoded text. | 1915 | length of the decoded text. If that buffer is a unibyte buffer |
| 1916 | (@pxref{Selecting a Representation}), the internal representation of | ||
| 1917 | the decoded text (@pxref{Text Representations}) is inserted into the | ||
| 1918 | buffer as individual bytes. | ||
| 1916 | 1919 | ||
| 1917 | This command puts a @code{charset} text property on the decoded text. | 1920 | This command puts a @code{charset} text property on the decoded text. |
| 1918 | The value of the property states the character set used to decode the | 1921 | The value of the property states the character set used to decode the |
| @@ -1931,7 +1934,9 @@ contains 8-bit bytes in their multibyte form). | |||
| 1931 | 1934 | ||
| 1932 | If optional argument @var{buffer} specifies a buffer, the decoded text | 1935 | If optional argument @var{buffer} specifies a buffer, the decoded text |
| 1933 | is inserted in that buffer after point (point does not move). In this | 1936 | is inserted in that buffer after point (point does not move). In this |
| 1934 | case, the return value is the length of the decoded text. | 1937 | case, the return value is the length of the decoded text. If that |
| 1938 | buffer is a unibyte buffer, the internal representation of the decoded | ||
| 1939 | text is inserted into it as individual bytes. | ||
| 1935 | 1940 | ||
| 1936 | @cindex @code{charset}, text property | 1941 | @cindex @code{charset}, text property |
| 1937 | This function puts a @code{charset} text property on the decoded text. | 1942 | This function puts a @code{charset} text property on the decoded text. |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 527a3ab420c..77077934673 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -840,8 +840,8 @@ The argument @var{character-set} is a string, like the inside of a | |||
| 840 | terminate it, and @samp{\} quotes @samp{^}, @samp{-} or @samp{\}. | 840 | terminate it, and @samp{\} quotes @samp{^}, @samp{-} or @samp{\}. |
| 841 | Thus, @code{"a-zA-Z"} skips over all letters, stopping before the | 841 | Thus, @code{"a-zA-Z"} skips over all letters, stopping before the |
| 842 | first nonletter, and @code{"^a-zA-Z"} skips nonletters stopping before | 842 | first nonletter, and @code{"^a-zA-Z"} skips nonletters stopping before |
| 843 | the first letter. See @xref{Regular Expressions}. Character classes | 843 | the first letter (@pxref{Regular Expressions}). Character classes |
| 844 | can also be used, e.g., @code{"[:alnum:]"}. See @pxref{Char Classes}. | 844 | can also be used, e.g., @code{"[:alnum:]"} (@pxref{Char Classes}). |
| 845 | 845 | ||
| 846 | If @var{limit} is supplied (it must be a number or a marker), it | 846 | If @var{limit} is supplied (it must be a number or a marker), it |
| 847 | specifies the maximum position in the buffer that point can be skipped | 847 | specifies the maximum position in the buffer that point can be skipped |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 6db2c96f2dc..df6709e38c2 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -1060,7 +1060,7 @@ there's a piece of normal text without having to think much about it. | |||
| 1060 | and so on. | 1060 | and so on. |
| 1061 | 1061 | ||
| 1062 | You can configure the exact way comments get filled and broken, and | 1062 | You can configure the exact way comments get filled and broken, and |
| 1063 | where Emacs does auto-filling (see @pxref{Custom Filling and | 1063 | where Emacs does auto-filling (@pxref{Custom Filling and |
| 1064 | Breaking}). Typically, the style system (@pxref{Styles}) will have | 1064 | Breaking}). Typically, the style system (@pxref{Styles}) will have |
| 1065 | set this up for you, so you probably won't have to bother. | 1065 | set this up for you, so you probably won't have to bother. |
| 1066 | 1066 | ||
| @@ -1478,7 +1478,7 @@ normal, with no @kbd{C-u} prefix). | |||
| 1478 | @end itemize | 1478 | @end itemize |
| 1479 | 1479 | ||
| 1480 | You can configure the precise circumstances in which newlines get | 1480 | You can configure the precise circumstances in which newlines get |
| 1481 | inserted (see @pxref{Custom Auto-newlines}). Typically, the style | 1481 | inserted (@pxref{Custom Auto-newlines}). Typically, the style |
| 1482 | system (@pxref{Styles}) will have set this up for you, so you probably | 1482 | system (@pxref{Styles}) will have set this up for you, so you probably |
| 1483 | won't have to bother. | 1483 | won't have to bother. |
| 1484 | 1484 | ||
| @@ -6853,7 +6853,7 @@ custom line-up function associated with it. | |||
| 6853 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 6853 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 6854 | 6854 | ||
| 6855 | To configure macros which you invoke without a terminating @samp{;}, | 6855 | To configure macros which you invoke without a terminating @samp{;}, |
| 6856 | see @xref{Macros with ;}. | 6856 | @pxref{Macros with ;}. |
| 6857 | 6857 | ||
| 6858 | Here are the remaining odds and ends regarding indentation: | 6858 | Here are the remaining odds and ends regarding indentation: |
| 6859 | 6859 | ||
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi index c7d499884da..7c7612f579c 100644 --- a/doc/misc/dbus.texi +++ b/doc/misc/dbus.texi | |||
| @@ -1928,7 +1928,7 @@ This executes @var{forms} exactly like a @code{progn}, except that | |||
| 1928 | errors can be made visible when @code{dbus-debug} is set to @code{t}. | 1928 | errors can be made visible when @code{dbus-debug} is set to @code{t}. |
| 1929 | @end defspec | 1929 | @end defspec |
| 1930 | 1930 | ||
| 1931 | Incoming D-Bus messages are handled as Emacs events, see @pxref{Misc | 1931 | Incoming D-Bus messages are handled as Emacs events, @pxref{Misc |
| 1932 | Events, , , elisp}. They are retrieved only, when Emacs runs in | 1932 | Events, , , elisp}. They are retrieved only, when Emacs runs in |
| 1933 | interactive mode. The generated event has this form: | 1933 | interactive mode. The generated event has this form: |
| 1934 | 1934 | ||
| @@ -1952,7 +1952,7 @@ of the D-Bus object emitting the message. @var{interface} and | |||
| 1952 | @var{member} denote the message which has been sent. | 1952 | @var{member} denote the message which has been sent. |
| 1953 | 1953 | ||
| 1954 | @var{handler} is the callback function which has been registered for | 1954 | @var{handler} is the callback function which has been registered for |
| 1955 | this message (see @pxref{Signals}). When a @code{dbus-event} event | 1955 | this message (@pxref{Signals}). When a @code{dbus-event} event |
| 1956 | arrives, @var{handler} is called with @var{args} as arguments. | 1956 | arrives, @var{handler} is called with @var{args} as arguments. |
| 1957 | 1957 | ||
| 1958 | In order to inspect the @code{dbus-event} data, you could extend the | 1958 | In order to inspect the @code{dbus-event} data, you could extend the |
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index b6a9d23f7dc..1e3414563f3 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi | |||
| @@ -896,7 +896,7 @@ should not bind @code{dired-x-find-file-other-window} over | |||
| 896 | @code{find-file-other-window}. If you change this variable after | 896 | @code{find-file-other-window}. If you change this variable after |
| 897 | @file{dired-x.el} is loaded then do @kbd{M-x dired-x-bind-find-file}. The | 897 | @file{dired-x.el} is loaded then do @kbd{M-x dired-x-bind-find-file}. The |
| 898 | default value of this variable is @code{t}; by default, the binding is not | 898 | default value of this variable is @code{t}; by default, the binding is not |
| 899 | done. See @xref{Optional Installation File At Point}. | 899 | done. @xref{Optional Installation File At Point}. |
| 900 | 900 | ||
| 901 | @item dired-x-bind-find-file | 901 | @item dired-x-bind-find-file |
| 902 | @findex dired-x-bind-find-file | 902 | @findex dired-x-bind-find-file |
| @@ -904,7 +904,7 @@ A function, which can be called interactively or in your @file{~/.emacs} file, | |||
| 904 | that uses the value of @code{dired-x-hands-off-my-keys} to determine if | 904 | that uses the value of @code{dired-x-hands-off-my-keys} to determine if |
| 905 | @code{dired-x-find-file} should be bound over @code{find-file} and | 905 | @code{dired-x-find-file} should be bound over @code{find-file} and |
| 906 | @code{dired-x-find-file-other-window} bound over | 906 | @code{dired-x-find-file-other-window} bound over |
| 907 | @code{find-file-other-window}. See @xref{Optional Installation File At Point}. | 907 | @code{find-file-other-window}. @xref{Optional Installation File At Point}. |
| 908 | @end table | 908 | @end table |
| 909 | 909 | ||
| 910 | @node Miscellaneous Commands | 910 | @node Miscellaneous Commands |
diff --git a/doc/misc/eudc.texi b/doc/misc/eudc.texi index 117b62e9ac8..568f94ba7c1 100644 --- a/doc/misc/eudc.texi +++ b/doc/misc/eudc.texi | |||
| @@ -606,7 +606,7 @@ function that will be passed the corresponding attribute values for | |||
| 606 | display. | 606 | display. |
| 607 | @end defvar | 607 | @end defvar |
| 608 | 608 | ||
| 609 | This variable has protocol-local definitions (see @pxref{Server/Protocol | 609 | This variable has protocol-local definitions (@pxref{Server/Protocol |
| 610 | Locals}). For instance, it is defined as follows for LDAP: | 610 | Locals}). For instance, it is defined as follows for LDAP: |
| 611 | 611 | ||
| 612 | @lisp | 612 | @lisp |
| @@ -714,7 +714,7 @@ name and the remaining words are all considered as surname constituents. | |||
| 714 | @var{format}s are in fact not limited to EUDC attribute names, you can | 714 | @var{format}s are in fact not limited to EUDC attribute names, you can |
| 715 | use server or protocol specific names in them. It may be safer if you | 715 | use server or protocol specific names in them. It may be safer if you |
| 716 | do so, to set the variable @code{eudc-inline-query-format} in a protocol | 716 | do so, to set the variable @code{eudc-inline-query-format} in a protocol |
| 717 | or server local fashion (see @pxref{Server/Protocol Locals}). | 717 | or server local fashion (@pxref{Server/Protocol Locals}). |
| 718 | 718 | ||
| 719 | For instance you could use the following to match up to three words | 719 | For instance you could use the following to match up to three words |
| 720 | against the @code{cn} attribute of LDAP servers: | 720 | against the @code{cn} attribute of LDAP servers: |
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index 075f5218414..840cc082054 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -707,7 +707,7 @@ retrieves via POP3? | |||
| 707 | 707 | ||
| 708 | Yes, if the POP3 server supports the UIDL control (maybe almost servers | 708 | Yes, if the POP3 server supports the UIDL control (maybe almost servers |
| 709 | do it nowadays). To do that, add a @code{:leave VALUE} pair to each | 709 | do it nowadays). To do that, add a @code{:leave VALUE} pair to each |
| 710 | POP3 mail source. See @pxref{Mail Source Specifiers} for VALUE. | 710 | POP3 mail source. @xref{Mail Source Specifiers}, for details on VALUE. |
| 711 | 711 | ||
| 712 | @node FAQ 4 - Reading messages | 712 | @node FAQ 4 - Reading messages |
| 713 | @subsection Reading messages | 713 | @subsection Reading messages |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 540061ef6d8..17b1521f488 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -3094,7 +3094,7 @@ You can also use regexp expansions in the rules: | |||
| 3094 | (sieve header :regex "list-id" "<c++std-\\1.accu.org>") | 3094 | (sieve header :regex "list-id" "<c++std-\\1.accu.org>") |
| 3095 | @end example | 3095 | @end example |
| 3096 | 3096 | ||
| 3097 | See @pxref{Sieve Commands} for commands and variables that might be of | 3097 | @xref{Sieve Commands}, for commands and variables that might be of |
| 3098 | interest in relation to the sieve parameter. | 3098 | interest in relation to the sieve parameter. |
| 3099 | 3099 | ||
| 3100 | The Sieve language is described in RFC 3028. @xref{Top, Emacs Sieve, | 3100 | The Sieve language is described in RFC 3028. @xref{Top, Emacs Sieve, |
| @@ -12856,7 +12856,7 @@ In the case of a string value, if the @code{match} is a regular | |||
| 12856 | expression, or if it takes the form @code{(header @var{match} | 12856 | expression, or if it takes the form @code{(header @var{match} |
| 12857 | @var{regexp})}, a @samp{gnus-match-substitute-replacement} is proceed | 12857 | @var{regexp})}, a @samp{gnus-match-substitute-replacement} is proceed |
| 12858 | on the value to replace the positional parameters @samp{\@var{n}} by | 12858 | on the value to replace the positional parameters @samp{\@var{n}} by |
| 12859 | the corresponding parenthetical matches (see @xref{Replacing Match,, | 12859 | the corresponding parenthetical matches (@pxref{Replacing Match,, |
| 12860 | Replacing the Text that Matched, elisp, The Emacs Lisp Reference | 12860 | Replacing the Text that Matched, elisp, The Emacs Lisp Reference |
| 12861 | Manual}.) | 12861 | Manual}.) |
| 12862 | 12862 | ||
| @@ -24242,7 +24242,7 @@ You must read this section to understand how the Spam package works. | |||
| 24242 | Do not skip, speed-read, or glance through this section. | 24242 | Do not skip, speed-read, or glance through this section. |
| 24243 | 24243 | ||
| 24244 | Make sure you read the section on the @code{spam.el} sequence of | 24244 | Make sure you read the section on the @code{spam.el} sequence of |
| 24245 | events. See @xref{Extending the Spam package}. | 24245 | events. @xref{Extending the Spam package}. |
| 24246 | 24246 | ||
| 24247 | @cindex spam-initialize | 24247 | @cindex spam-initialize |
| 24248 | @vindex spam-use-stat | 24248 | @vindex spam-use-stat |
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index c51b4c35a49..de3b7bbed49 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -10290,7 +10290,7 @@ Org mode can contain @LaTeX{} math fragments, and it supports ways to process | |||
| 10290 | these for several export back-ends. When exporting to @LaTeX{}, the code is | 10290 | these for several export back-ends. When exporting to @LaTeX{}, the code is |
| 10291 | left as it is. When exporting to HTML, Org can use either | 10291 | left as it is. When exporting to HTML, Org can use either |
| 10292 | @uref{http://www.mathjax.org, MathJax} (@pxref{Math formatting in HTML | 10292 | @uref{http://www.mathjax.org, MathJax} (@pxref{Math formatting in HTML |
| 10293 | export}) or transcode the math into images (see @pxref{Previewing @LaTeX{} | 10293 | export}) or transcode the math into images (@pxref{Previewing @LaTeX{} |
| 10294 | fragments}). | 10294 | fragments}). |
| 10295 | 10295 | ||
| 10296 | @LaTeX{} fragments don't need any special marking at all. The following | 10296 | @LaTeX{} fragments don't need any special marking at all. The following |
| @@ -10356,7 +10356,7 @@ or @file{convert} installed@footnote{These are respectively available at | |||
| 10356 | and from the @file{imagemagick} suite. Choose the converter by setting the | 10356 | and from the @file{imagemagick} suite. Choose the converter by setting the |
| 10357 | variable @code{org-preview-latex-default-process} accordingly.}, @LaTeX{} | 10357 | variable @code{org-preview-latex-default-process} accordingly.}, @LaTeX{} |
| 10358 | fragments can be processed to produce images of the typeset expressions to be | 10358 | fragments can be processed to produce images of the typeset expressions to be |
| 10359 | used for inclusion while exporting to HTML (see @pxref{@LaTeX{} fragments}), | 10359 | used for inclusion while exporting to HTML (@pxref{@LaTeX{} fragments}), |
| 10360 | or for inline previewing within Org mode. | 10360 | or for inline previewing within Org mode. |
| 10361 | 10361 | ||
| 10362 | @vindex org-format-latex-options | 10362 | @vindex org-format-latex-options |
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index baa8de4b4dc..8221abdbbaa 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi | |||
| @@ -3697,7 +3697,7 @@ MicroEmacs at the time). | |||
| 3697 | Here is a summary of @RefTeX{}'s commands which can be executed from | 3697 | Here is a summary of @RefTeX{}'s commands which can be executed from |
| 3698 | @LaTeX{} files. Command which are executed from the special buffers are | 3698 | @LaTeX{} files. Command which are executed from the special buffers are |
| 3699 | not described here. All commands are available from the @code{Ref} | 3699 | not described here. All commands are available from the @code{Ref} |
| 3700 | menu. See @xref{Key Bindings}. | 3700 | menu. @xref{Key Bindings}. |
| 3701 | 3701 | ||
| 3702 | @deffn Command reftex-toc | 3702 | @deffn Command reftex-toc |
| 3703 | Show the table of contents for the current document. When called with | 3703 | Show the table of contents for the current document. When called with |
diff --git a/lisp/recentf.el b/lisp/recentf.el index 9b70017a385..4112b44e484 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -67,7 +67,8 @@ You should define the options of your own filters in this group." | |||
| 67 | A nil value means to save the whole list. | 67 | A nil value means to save the whole list. |
| 68 | See the command `recentf-save-list'." | 68 | See the command `recentf-save-list'." |
| 69 | :group 'recentf | 69 | :group 'recentf |
| 70 | :type 'integer) | 70 | :type '(choice (integer :tag "Entries" :value 1) |
| 71 | (const :tag "No Limit" nil))) | ||
| 71 | 72 | ||
| 72 | (defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf") | 73 | (defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf") |
| 73 | "File to save the recent list into." | 74 | "File to save the recent list into." |
diff --git a/src/coding.c b/src/coding.c index 9cba6494a8d..5b9bfa17dd2 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7803,15 +7803,22 @@ encode_coding (struct coding_system *coding) | |||
| 7803 | SAFE_FREE (); | 7803 | SAFE_FREE (); |
| 7804 | } | 7804 | } |
| 7805 | 7805 | ||
| 7806 | 7806 | /* Code-conversion operations use internal buffers. There's a single | |
| 7807 | /* Name (or base name) of work buffer for code conversion. */ | 7807 | reusable buffer, which is created the first time it is needed, and |
| 7808 | then never killed. When this reusable buffer is being used, the | ||
| 7809 | reused_workbuf_in_use flag is set. If we need another conversion | ||
| 7810 | buffer while the reusable one is in use (e.g., if code-conversion | ||
| 7811 | is reentered when another code-conversion is in progress), we | ||
| 7812 | create temporary buffers using the name of the reusable buffer as | ||
| 7813 | the base name, see code_conversion_save below. These temporary | ||
| 7814 | buffers are killed when the code-conversion operations that use | ||
| 7815 | them return, see code_conversion_restore below. */ | ||
| 7816 | |||
| 7817 | /* A string that serves as name of the reusable work buffer, and as base | ||
| 7818 | name of temporary work buffers used for code-conversion operations. */ | ||
| 7808 | Lisp_Object Vcode_conversion_workbuf_name; | 7819 | Lisp_Object Vcode_conversion_workbuf_name; |
| 7809 | 7820 | ||
| 7810 | /* A working buffer used by the top level conversion. Once it is | 7821 | /* The reusable working buffer, created once and never killed. */ |
| 7811 | created, it is never destroyed. It has the name | ||
| 7812 | Vcode_conversion_workbuf_name. The other working buffers are | ||
| 7813 | destroyed after the use is finished, and their names are modified | ||
| 7814 | versions of Vcode_conversion_workbuf_name. */ | ||
| 7815 | static Lisp_Object Vcode_conversion_reused_workbuf; | 7822 | static Lisp_Object Vcode_conversion_reused_workbuf; |
| 7816 | 7823 | ||
| 7817 | /* True iff Vcode_conversion_reused_workbuf is already in use. */ | 7824 | /* True iff Vcode_conversion_reused_workbuf is already in use. */ |
| @@ -9402,7 +9409,8 @@ START and END are buffer positions. | |||
| 9402 | Optional 4th arguments DESTINATION specifies where the decoded text goes. | 9409 | Optional 4th arguments DESTINATION specifies where the decoded text goes. |
| 9403 | If nil, the region between START and END is replaced by the decoded text. | 9410 | If nil, the region between START and END is replaced by the decoded text. |
| 9404 | If buffer, the decoded text is inserted in that buffer after point (point | 9411 | If buffer, the decoded text is inserted in that buffer after point (point |
| 9405 | does not move). | 9412 | does not move). If that buffer is unibyte, it receives the individual |
| 9413 | bytes of the internal representation of the decoded text. | ||
| 9406 | In those cases, the length of the decoded text is returned. | 9414 | In those cases, the length of the decoded text is returned. |
| 9407 | If DESTINATION is t, the decoded text is returned. | 9415 | If DESTINATION is t, the decoded text is returned. |
| 9408 | 9416 | ||
| @@ -9560,7 +9568,9 @@ if the decoding operation is trivial. | |||
| 9560 | 9568 | ||
| 9561 | Optional fourth arg BUFFER non-nil means that the decoded text is | 9569 | Optional fourth arg BUFFER non-nil means that the decoded text is |
| 9562 | inserted in that buffer after point (point does not move). In this | 9570 | inserted in that buffer after point (point does not move). In this |
| 9563 | case, the return value is the length of the decoded text. | 9571 | case, the return value is the length of the decoded text. If that |
| 9572 | buffer is unibyte, it receives the individual bytes of the internal | ||
| 9573 | representation of the decoded text. | ||
| 9564 | 9574 | ||
| 9565 | This function sets `last-coding-system-used' to the precise coding system | 9575 | This function sets `last-coding-system-used' to the precise coding system |
| 9566 | used (which may be different from CODING-SYSTEM if CODING-SYSTEM is | 9576 | used (which may be different from CODING-SYSTEM if CODING-SYSTEM is |