unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27494: 24.5; doc of `add-to-history'
@ 2017-06-26  0:08 Drew Adams
  2017-07-22  8:36 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2017-06-26  0:08 UTC (permalink / raw)
  To: 27494

Both doc string and Elisp manual:

The doc should say that when MAXELT is exceeded the oldest history
element is discarded.  Yes, one might surmise that from the meaning of
"history" ,and from assuming that the new element is always added,
even if the history is full (up to MAXELT).  Still, it is better to be
explicit.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#27494: 24.5; doc of `add-to-history'
  2017-06-26  0:08 bug#27494: 24.5; doc of `add-to-history' Drew Adams
@ 2017-07-22  8:36 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2017-07-22  8:36 UTC (permalink / raw)
  To: Drew Adams; +Cc: 27494-done

> Date: Sun, 25 Jun 2017 17:08:18 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> Both doc string and Elisp manual:
> 
> The doc should say that when MAXELT is exceeded the oldest history
> element is discarded.  Yes, one might surmise that from the meaning of
> "history" ,and from assuming that the new element is always added,
> even if the history is full (up to MAXELT).  Still, it is better to be
> explicit.

The ELisp manual already said that the values of maximum length have
the same meaning as those of 'history-length', so I just added the
same reference to the doc string.

Thanks.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-22  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26  0:08 bug#27494: 24.5; doc of `add-to-history' Drew Adams
2017-07-22  8:36 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).