]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-26
authorGlenn Morris <rgm@gnu.org>
Sat, 1 Jun 2019 19:04:41 +0000 (12:04 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 1 Jun 2019 19:04:41 +0000 (12:04 -0700)
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

1  2 
doc/lispref/control.texi
doc/lispref/functions.texi
doc/lispref/modes.texi
doc/lispref/nonascii.texi
doc/misc/cc-mode.texi
doc/misc/dired-x.texi
doc/misc/gnus-faq.texi
doc/misc/gnus.texi
doc/misc/org.texi
lisp/recentf.el
src/coding.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lisp/recentf.el
Simple merge
diff --cc src/coding.c
index 9cba6494a8ddcfba2005ece6a7c488a70742d281,078c1c4e6a7d1ff47c0833563459b2203d849512..5b9bfa17dd219d9604422e4e1722b64f8bebdda3
@@@ -7803,15 -7782,22 +7803,22 @@@ encode_coding (struct coding_system *co
    SAFE_FREE ();
  }
  
- /* Name (or base name) of work buffer for code conversion.  */
+ /* Code-conversion operations use internal buffers.  There's a single
+    reusable buffer, which is created the first time it is needed, and
+    then never killed.  When this reusable buffer is being used, the
+    reused_workbuf_in_use flag is set.  If we need another conversion
+    buffer while the reusable one is in use (e.g., if code-conversion
+    is reentered when another code-conversion is in progress), we
+    create temporary buffers using the name of the reusable buffer as
+    the base name, see code_conversion_save below.  These temporary
+    buffers are killed when the code-conversion operations that use
+    them return, see code_conversion_restore below.  */
+ /* A string that serves as name of the reusable work buffer, and as base
+    name of temporary work buffers used for code-conversion operations.  */
 -static Lisp_Object Vcode_conversion_workbuf_name;
 +Lisp_Object Vcode_conversion_workbuf_name;
  
- /* A working buffer used by the top level conversion.  Once it is
-    created, it is never destroyed.  It has the name
-    Vcode_conversion_workbuf_name.  The other working buffers are
-    destroyed after the use is finished, and their names are modified
-    versions of Vcode_conversion_workbuf_name.  */
+ /* The reusable working buffer, created once and never killed.  */
  static Lisp_Object Vcode_conversion_reused_workbuf;
  
  /* True iff Vcode_conversion_reused_workbuf is already in use.  */