]> git.eshelyaron.com Git - emacs.git/commit
Add a new function `buffer-hash'
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 28 Mar 2016 17:07:39 +0000 (19:07 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 28 Mar 2016 17:08:49 +0000 (19:08 +0200)
commit15357f6d1f90b03719f650823ac6531a305a9818
tree6fb6e00b93edf3adcdef41611da5053815dbaa36
parentf41f573ee199834e7d5e36ede029c6f47b1c3b09
Add a new function `buffer-hash'

* doc/lispref/text.texi (Checksum/Hash): Document `buffer-hash'.

* src/fns.c (Fbuffer_hash): New function.
(make_digest_string): Refactored out into its own function.
(secure_hash): Use it.

* test/src/fns-tests.el (fns-tests-hash-buffer): New tests.
doc/lispref/text.texi
etc/NEWS
src/fns.c
test/src/fns-tests.el