[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45178: buffer-hash docstring should explain difference to secure-has
From: |
Lars Ingebrigtsen |
Subject: |
bug#45178: buffer-hash docstring should explain difference to secure-hash |
Date: |
Fri, 11 Dec 2020 17:49:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> I guess what I don't understand is why I would _ever_ want to use this
> function. I mean, why not just compare buffers using `secure-hash'?
`buffer-hash' is fast, so you can use it to compare the buffer contents
before and after doing things like `indent-sexp' to see whether that
changed anything.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no