From: Lars Ingebrigtsen Date: Tue, 9 Feb 2021 15:28:30 +0000 (+0100) Subject: Note that the `values' variable is now obsolete X-Git-Tag: emacs-28.0.90~3855 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=627a02467508140d213a68c9eed6cb78a5e94860;p=emacs.git Note that the `values' variable is now obsolete * src/lread.c (syms_of_lread): Note that it's obsolete in the doc string (because we can't mark it as obsolete "properly" yet, because that leads to compilation warnings when somebody (let (values) ... values). --- diff --git a/etc/NEWS b/etc/NEWS index ec574543d11..7f02f6106d6 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2217,6 +2217,8 @@ back in Emacs 23.1. The affected functions are: 'make-obsolete', * Lisp Changes in Emacs 28.1 +** The 'values' variable is now obsolete. + --- ** New variable 'indent-line-ignored-functions'. This allows modes to cycle through a set of indentation functions diff --git a/src/lread.c b/src/lread.c index 010194c34ea..dea1b232fff 100644 --- a/src/lread.c +++ b/src/lread.c @@ -4833,7 +4833,8 @@ to find all the symbols in an obarray, use `mapatoms'. */); DEFVAR_LISP ("values", Vvalues, doc: /* List of values of all expressions which were read, evaluated and printed. -Order is reverse chronological. */); +Order is reverse chronological. +This variable is obsolete as of Emacs 28.1 and should not be used. */); XSYMBOL (intern ("values"))->u.s.declared_special = false; DEFVAR_LISP ("standard-input", Vstandard_input,