summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorMax Nikulin <manikulin@gmail.com>2022-04-16 18:48:51 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-16 18:54:30 -0700
commit15a5cf9a9aa7798ee12ae96b8b6b4efe1562b57e (patch)
tree3f13f932dae26bb508ecbc299b21a0c4f69c7f5f /lisp/emacs-lisp/lisp.el
parent18ec3fcce952efee283bfd6599a9de5f78f14a26 (diff)
downloademacs-15a5cf9a9aa7798ee12ae96b8b6b4efe1562b57e.tar.gz
emacs-15a5cf9a9aa7798ee12ae96b8b6b4efe1562b57e.tar.bz2
emacs-15a5cf9a9aa7798ee12ae96b8b6b4efe1562b57e.zip
Stress difference of new and old ways to call `encode-time'
* doc/lispref/os.texi (Time Conversion): Add a warning that blind changing of code calling `encode-time' to use single list instead of multiple values may cause deferred bugs since it is common to use nil for ignored arguments such as DST in the old calling convention. * src/timefns.c (encode-time): Mention the warning added to the elisp reference in the docstring. Refactoring related to `encode-time' caused (bug#54731), so it is better to make apparent the difference between the recommended and the obsolescent ways to call the function. More details concerning the purpose and limitations of the DST field are added after discussion with Paul Eggert in (bug#54764).
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions