emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master db71b31: Merge from origin/emacs-26


From: Glenn Morris
Subject: [Emacs-diffs] master db71b31: Merge from origin/emacs-26
Date: Sat, 14 Apr 2018 10:54:09 -0400 (EDT)

branch: master
commit db71b3182778b66fad3865825777b06cc20b89a8
Merge: 132b3a9 5a6bb01
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Merge from origin/emacs-26
    
    5a6bb01 (origin/emacs-26) Fix building etc/DOC in the MSDOS port
    274c979 * lisp/select.el (gui-get-selection): Doc fix.
    ad731b0 ; * doc/lispref/display.texi (Temporary Displays): Fix typos.
    f1450e9 Complete documentation of syntax flags by adding `c'
    6bdcaec Fix typos and minor wording issues in ELisp manual
    febac27 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
    6c2e21e Avoid segfault in processes of type 'pipe'
    60e10c5 Remove repetitions in documentation strings
    208e752 * lisp/image.el (image-load-path): Doc fix.
    92e0fd8 ; * etc/NEWS: Remove a FIXME.  (Bug#31122)
    
    Conflicts:
        etc/NEWS
---
 doc/lispref/display.texi      |  4 ++--
 doc/lispref/internals.texi    |  4 ++--
 doc/lispref/modes.texi        |  9 +++++----
 doc/lispref/positions.texi    |  6 +++---
 doc/lispref/sequences.texi    |  4 ++--
 doc/lispref/syntax.texi       |  2 +-
 doc/lispref/text.texi         | 12 ++++++------
 doc/lispref/variables.texi    | 15 ++++++++-------
 doc/lispref/windows.texi      |  2 +-
 etc/NEWS.26                   |  7 +++----
 lisp/bindings.el              |  4 ++--
 lisp/cedet/semantic/tag-ls.el |  2 +-
 lisp/image-mode.el            |  2 +-
 lisp/image.el                 |  3 +++
 lisp/select.el                |  6 ++++--
 lisp/textmodes/reftex-vars.el |  2 +-
 msdos/sed1v2.inp              |  4 ++--
 src/process.c                 |  4 ++++
 18 files changed, 51 insertions(+), 41 deletions(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 1743a97..02dc830 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1241,7 +1241,7 @@ displays the buffer specified by @var{buffer-or-name} 
@emph{before}
 running @var{body}.
 @end defmac
 
-A window showing a temporary buffer can be fit to the size of that
+A window showing a temporary buffer can be fitted to the size of that
 buffer using the following mode:
 
 @defopt temp-buffer-resize-mode
@@ -1274,7 +1274,7 @@ positive integer.  At the time the function is called, 
the window to be
 resized is selected.
 @end defopt
 
-The following function uses the current buffer for temporal display:
+The following function uses the current buffer for temporary display:
 
 @defun momentary-string-display string position &optional char message
 This function momentarily displays @var{string} in the current buffer at
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 7ae5b5c..9cf1a4f 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -739,7 +739,7 @@ DEFUN ("foo", Ffoo, Sfoo, 0, UNEVALLED, 0
        "(list (read-char-by-name \"Insert character: \")\
               (prefix-numeric-value current-prefix-arg)\
               t))",
-  doc: /* @dots{} /*)
+  doc: /* @dots{} */)
 @end group
 @end example
 
@@ -776,7 +776,7 @@ this:
 @example
 @group
 DEFUN ("bar", Fbar, Sbar, 0, UNEVALLED, 0
-  doc: /* @dots{} /*
+  doc: /* @dots{} */
   attributes: @var{attr1} @var{attr2} @dots{})
 @end group
 @end example
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index f1a00e7..8a77745 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1388,9 +1388,10 @@ similar to the code generated by the 
@code{define-minor-mode} macro):
 
 @example
 (interactive (list (or current-prefix-arg 'toggle)))
-(let ((enable (if (eq arg 'toggle)
-                  (not foo-mode) ; @r{this mode's mode variable}
-                (> (prefix-numeric-value arg) 0))))
+(let ((enable
+       (if (eq arg 'toggle)
+           (not foo-mode) ; @r{this is the mode's mode variable}
+         (> (prefix-numeric-value arg) 0))))
   (if enable
       @var{do-enable}
     @var{do-disable}))
@@ -3375,7 +3376,7 @@ easy to add the @code{font-lock-multiline} property by 
hand.
 
   The @code{font-lock-multiline} property is meant to ensure proper
 refontification; it does not automatically identify new multiline
-constructs.  Identifying the requires that Font Lock mode operate on
+constructs.  Identifying them requires that Font Lock mode operate on
 large enough chunks at a time.  This will happen by accident on many
 cases, which may give the impression that multiline constructs magically
 work.  If you set the @code{font-lock-multiline} variable
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi
index fdc8bb9..a09b6b6 100644
--- a/doc/lispref/positions.texi
+++ b/doc/lispref/positions.texi
@@ -569,9 +569,9 @@ The optional argument @var{cur-col} specifies the current 
column when
 the function is called.  This is the window-relative horizontal
 coordinate of point, measured in units of font width of the frame's
 default face.  Providing it speeds up the function, especially in very
-long lines, because it doesn't have to go back in the buffer in order
-to determine the current column.  Note that @var{cur-col} is also
-counted from the visual start of the line.
+long lines, because the function doesn't have to go back in the buffer
+in order to determine the current column.  Note that @var{cur-col} is
+also counted from the visual start of the line.
 @end defun
 
 @defun count-screen-lines &optional beg end count-final-newline window
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 80079bc..ffec6f3 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -728,7 +728,7 @@ to every element of @var{sequence} returns address@hidden
 @result{} t
 @end group
 @group
-(seq-some #'numberp [2 4 "6"])
+(seq-every-p #'numberp [2 4 "6"])
 @result{} nil
 @end group
 @end example
@@ -854,7 +854,7 @@ it is a function of two arguments to use instead of the 
default @code{equal}.
 @end group
 @group
 (seq-uniq '(1 2 2.0 1.0) #'=)
address@hidden [1 2]
address@hidden (1 2)
 @end group
 @end example
 @end defun
diff --git a/doc/lispref/syntax.texi b/doc/lispref/syntax.texi
index 3327d78..44a7730 100644
--- a/doc/lispref/syntax.texi
+++ b/doc/lispref/syntax.texi
@@ -1018,7 +1018,7 @@ corresponds to each syntax flag.
 @item
 @samp{3} @tab @code{(lsh 1 18)} @tab @samp{n} @tab @code{(lsh 1 22)}
 @item
address@hidden @tab @code{(lsh 1 19)}
address@hidden @tab @code{(lsh 1 19)} @tab @samp{c} @tab @code{(lsh 1 23)}
 @end multitable
 
 @defun string-to-syntax desc
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index ebfa8b9..9769043 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1613,7 +1613,7 @@ that the line ends exactly at @code{fill-column}.  It 
returns
 
 The argument @var{how}, if address@hidden specifies explicitly the style
 of justification.  It can be @code{left}, @code{right}, @code{full},
address@hidden, or @code{none}.  If it is @code{t}, that means to do
address@hidden, or @code{none}.  If it is @code{t}, that means to
 follow specified justification style (see @code{current-justification},
 below).  @code{nil} means to do full justification.
 
@@ -2977,7 +2977,7 @@ If any text in the region already has a address@hidden 
@code{face} property,
 those face(s) are retained.  This function sets the @code{face}
 property to a list of faces, with @var{face} as the first element (by
 default) and the pre-existing faces as the remaining elements.  If the
-optional argument @var{append} is address@hidden, @var{face} is
+optional argument @var{appendp} is address@hidden, @var{face} is
 appended to the end of the list instead.  Note that in a face list,
 the first occurring value for each attribute takes precedence.
 
@@ -4298,10 +4298,10 @@ read register names use this function.
   This function can be used to transpose stretches of text:
 
 @defun transpose-regions start1 end1 start2 end2 &optional leave-markers
-This function exchanges two nonoverlapping portions of the buffer.
-Arguments @var{start1} and @var{end1} specify the bounds of one portion
-and arguments @var{start2} and @var{end2} specify the bounds of the
-other portion.
+This function exchanges two nonoverlapping portions of the buffer (if
+they overlap, the function signals an error).  Arguments @var{start1}
+and @var{end1} specify the bounds of one portion and arguments
address@hidden and @var{end2} specify the bounds of the other portion.
 
 Normally, @code{transpose-regions} relocates markers with the transposed
 text; a marker previously positioned within one of the two transposed
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 4d04335..af1bed4 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1004,12 +1004,13 @@ affect, nor be affected by, any uses of the same 
variable symbol
 elsewhere in the program.
 
 @item
-Otherwise, define the variable with @code{defvar}, @code{defconst}, or
address@hidden  @xref{Defining Variables}.  Usually, the definition
-should be at top-level in an Emacs Lisp file.  As far as possible, it
-should include a documentation string which explains the meaning and
-purpose of the variable.  You should also choose the variable's name
-to avoid name conflicts (@pxref{Coding Conventions}).
+Otherwise, define the variable with @code{defvar}, @code{defconst}
+(@pxref{Defining Variables}), or @code{defcustom} (@pxref{Variable
+Definitions}).  Usually, the definition should be at top-level in an
+Emacs Lisp file.  As far as possible, it should include a
+documentation string which explains the meaning and purpose of the
+variable.  You should also choose the variable's name to avoid name
+conflicts (@pxref{Coding Conventions}).
 
 Then you can bind the variable anywhere in a program, knowing reliably
 what the effect will be.  Wherever you encounter the variable, it will
@@ -1024,7 +1025,7 @@ variables like @code{case-fold-search}:
 @group
 (defun search-for-abc ()
   "Search for the string \"abc\", ignoring case differences."
-  (let ((case-fold-search nil))
+  (let ((case-fold-search t))
     (re-search-forward "abc")))
 @end group
 @end example
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 8d8877b..f5de2fc 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -904,7 +904,7 @@ include mode and header line and a bottom divider, if any.
 
 If @var{window} is part of a horizontal combination and the value of the
 option @code{fit-window-to-buffer-horizontally} (see below) is
address@hidden, this function adjusts @var{window}'s height.  The new
address@hidden, this function adjusts @var{window}'s width.  The new
 width of @var{window} is calculated from the maximum length of its
 buffer's lines that follow the current start position of @var{window}.
 The optional argument @var{max-width} specifies a maximum width and
diff --git a/etc/NEWS.26 b/etc/NEWS.26
index 823882c..4b1f673 100644
--- a/etc/NEWS.26
+++ b/etc/NEWS.26
@@ -1375,10 +1375,9 @@ gets evaluated after the new mode's hook has run.  This 
can be used to
 incorporate configuration changes made in the mode hook into the
 mode's setup.
 
-** Autoload files can be generated without timestamps,
-by setting 'autoload-timestamps' to nil.
-FIXME As an experiment, nil is the current default.
-If no insurmountable problems before next release, it can stay that way.
+** Autoload files are now generated without timestamps.
+Set 'autoload-timestamps' to a non-nil value to get timestamps in
+autoload files.
 
 ** 'gnutls-boot' now takes a parameter ':complete-negotiation' that
 says that negotiation should complete even on non-blocking sockets.
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 6ef8ffb..9797052 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -851,7 +851,7 @@ and \\[backward-word], which see.
 
 Value is normally t.
 If an edge of the buffer or a field boundary is reached, point is left there
-there and the function returns nil.  Field boundaries are not noticed
+and the function returns nil.  Field boundaries are not noticed
 if `inhibit-field-text-motion' is non-nil."
   (interactive "^p")
   (if (eq (current-bidi-paragraph-direction) 'left-to-right)
@@ -867,7 +867,7 @@ and \\[forward-word], which see.
 
 Value is normally t.
 If an edge of the buffer or a field boundary is reached, point is left there
-there and the function returns nil.  Field boundaries are not noticed
+and the function returns nil.  Field boundaries are not noticed
 if `inhibit-field-text-motion' is non-nil."
   (interactive "^p")
   (if (eq (current-bidi-paragraph-direction) 'left-to-right)
diff --git a/lisp/cedet/semantic/tag-ls.el b/lisp/cedet/semantic/tag-ls.el
index b9cce17..39a4d95 100644
--- a/lisp/cedet/semantic/tag-ls.el
+++ b/lisp/cedet/semantic/tag-ls.el
@@ -134,7 +134,7 @@ By default, `semantic-tag-similar-ignorable-attributes' is 
referenced for
 attributes, and IGNORABLE-ATTRIBUTES will augment this list.
 
 Note that even though :name is not an attribute, it can be used to
-to indicate lax comparison of names via `semantic--tag-similar-names-p'")
+indicate lax comparison of names via `semantic--tag-similar-names-p'")
 
 ;; Note: optional thing is because overloadable fcns don't handle this
 ;; quite right.
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 320f21a..c504afa 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -676,7 +676,7 @@ displays an image file as hex.  `image-minor-mode' provides 
the key
 to display an image file as the actual image.
 
 You can use `image-mode-as-hex' in `auto-mode-alist' when you want to
-to display an image file as hex initially.
+display an image file as hex initially.
 
 See commands `image-mode' and `image-minor-mode' for more information
 on these modes."
diff --git a/lisp/image.el b/lisp/image.el
index ab868f7..e084fe3 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -116,6 +116,9 @@ told that the data would have the associated suffix if 
saved to a file.")
   (list (file-name-as-directory (expand-file-name "images" data-directory))
         'data-directory 'load-path)
   "List of locations in which to search for image files.
+The images for icons shown in the tool bar are also looked up
+in these locations.
+
 If an element is a string, it defines a directory to search.
 If an element is a variable symbol whose value is a string, that
 value defines a directory to search.
diff --git a/lisp/select.el b/lisp/select.el
index d5c9d7c..698be83 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -291,8 +291,10 @@ all upper-case names.  The most often used ones, in 
addition to
 `PRIMARY', are `SECONDARY' and `CLIPBOARD'.
 
 DATA-TYPE is usually `STRING', but can also be one of the symbols
-in `selection-converter-alist', which see.  This argument is
-ignored on NS, MS-Windows and MS-DOS."
+in `selection-converter-alist', which see.  Window systems other
+than X usually support only a small subset of these symbols, in
+addition to `STRING'; MS-Windows supports `TARGETS', which reports
+the formats available in the clipboard if TYPE is `CLIPBOARD'."
   (let ((data (gui-backend-get-selection (or type 'PRIMARY)
                                          (or data-type 'STRING))))
     (when (and (stringp data)
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 01ee4f5..11dbb8d 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1616,7 +1616,7 @@ viewing can be useful.  Each entry has the structure
 
 MACRO-RE is matched against the macro.  SEARCH-RE is the regexp used
 to search for cross references.  `%s' in this regexp is replaced with
-with the macro argument at point.  HIGHLIGHT is an integer indicating
+the macro argument at point.  HIGHLIGHT is an integer indicating
 which subgroup of the match should be highlighted."
   :group 'reftex-viewing-cross-references
   :type '(repeat (group (regexp  :tag "Macro  Regexp  ")
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 8b68cb7..8505656 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -165,8 +165,8 @@ s/ address@hidden@//
 /^lisp\.mk:/,/^$/c\
 lisp.mk: $(lispsource)/loadup.el\
        @rm -f address@hidden
-       ${AM_V_GEN}printf 'shortlisp = \\n' > address@hidden
-       ${AM_V_GEN}sed -n 's/^[ \t]*(load "\([^"]*\)".*/\1/p' $< | sed -e 
"s/$/.elc \/" -e "s/\.el\.elc/.el/" >> address@hidden
+       ${AM_V_GEN}printf 'shortlisp = \\\\\\n' > address@hidden
+       ${AM_V_GEN}sed -n 's/^[ \t]*(load "\\([^"]*\\)".*/\\1/p' $< | sed -e 
"s/\$\$/.elc \\\\/" -e "s/\\.el\\.elc/.el/" >> address@hidden
        ${AM_V_GEN}djecho ""  >> $@
 
 #"
diff --git a/src/process.c b/src/process.c
index c357a8b..6dba218 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2471,6 +2471,10 @@ usage:  (make-pipe-process &rest ARGS)  */)
   /* This may signal an error.  */
   setup_process_coding_systems (proc);
 
+  pset_decoding_buf (p, empty_unibyte_string);
+  eassert (p->decoding_carryover == 0);
+  pset_encoding_buf (p, empty_unibyte_string);
+
   specpdl_ptr = specpdl + specpdl_count;
 
   return proc;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]