]> git.eshelyaron.com Git - emacs.git/commit
Use cl-letf instead of unwind-protect in a test
authorMauro Aranda <maurooaranda@gmail.com>
Fri, 20 Nov 2020 22:28:03 +0000 (19:28 -0300)
committerMauro Aranda <maurooaranda@gmail.com>
Fri, 20 Nov 2020 22:28:03 +0000 (19:28 -0300)
commitabd15e088e99b1c6334a427879fead0d557b7447
tree87496a3bc947c448b03639debfd00d4c15e8600c
parentac98bcc906254da564d77dd33e902e4590ae1d33
Use cl-letf instead of unwind-protect in a test

* test/lisp/cus-edit-tests.el (cus-edit-tests-customize-saved/show-obsolete):
Good use case for cl-letf, so use it.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca> in:
https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00914.html
test/lisp/cus-edit-tests.el