]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-26
authorGlenn Morris <rgm@gnu.org>
Fri, 8 Feb 2019 17:20:40 +0000 (09:20 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 8 Feb 2019 17:20:40 +0000 (09:20 -0800)
0cd7b52 (origin/emacs-26) Minor improvements to do strings in callproc.c
b8c7017 Improve documentation of 'date-to-time' and 'parse-time-string'
46095a7 Fix downloading of URLs that end in a slash
3b60a0a * doc/misc/eww.texi (Basics): Fix eww keybindings.  (Bug#34291)
8e22025 Fix process-thread docstring
459b669 Fix failures of vc-find-revision with non-ASCII file names
e9ff190 * doc/lispref/tips.texi (Documentation Tips): Fix quotes.  (B...
3e49a08 ; * src/coding.h (struct coding_system): Fix a typo in a comm...
b657286 Add documentation for tabulated-list functions in the elisp m...
6e0f67b Fix URL in ucs-normalize.el
ce3ae1f * etc/PROBLEMS: Amend entry for profiler bug #34235 to mentio...

# Conflicts:
# doc/lispref/os.texi

1  2 
doc/lispref/modes.texi
doc/lispref/os.texi
doc/misc/eww.texi
etc/PROBLEMS
lisp/calendar/time-date.el
lisp/net/eww.el
lisp/vc/vc.el
src/callproc.c
src/coding.h
src/process.c

Simple merge
index 6fae93717a2ea2ce359f9d56a64c9a4018d21e5b,2f3e91ce68c8547053719f600ee9938886c4546d..9766b8321faa632834f539ffc594150036d1f6e8
@@@ -1544,7 -1467,28 +1544,28 @@@ Time values include @code{nil}, numbers
  
  @defun date-to-time string
  This function parses the time-string @var{string} and returns the
- corresponding Lisp timestamp.
 -corresponding time value.  The argument @var{string} should represent
++corresponding Lisp timestamp.  The argument @var{string} should represent
+ a date-time, and should be in one of the forms recognized by
+ @code{parse-time-string} (see below).  This function assumes the GMT
+ timezone if @var{string} lacks an explicit timezone information.
+ @end defun
+ @defun parse-time-string string
+ This function parses the time-string @var{string} into a list of the
+ following form:
+ @example
+ (@var{sec} @var{min} @var{hour} @var{day} @var{mon} @var{year} @var{dow} @var{dst} @var{tz})
+ @end example
+ @noindent
+ The format of this list is the same as what @code{decode-time} accepts
+ (@pxref{Time Conversion}), and is described in more detail there.  Any
+ element that cannot be determined from the input will be set to
+ @code{nil}.  The argument @var{string} should resemble an RFC 2822 or
+ ISO 8601 string, like ``Fri, 25 Mar 2016 16:24:56 +0100'' or
+ ``1998-09-12T12:21:54-0200'', but this function will attempt to parse
+ less well-formed time strings as well.
  @end defun
  
  @defun format-time-string format-string &optional time zone
Simple merge
diff --cc etc/PROBLEMS
Simple merge
Simple merge
diff --cc lisp/net/eww.el
Simple merge
diff --cc lisp/vc/vc.el
Simple merge
diff --cc src/callproc.c
Simple merge
diff --cc src/coding.h
Simple merge
diff --cc src/process.c
Simple merge