summaryrefslogtreecommitdiff
path: root/test/lisp/so-long-tests/spelling-tests.el
diff options
context:
space:
mode:
authorPhil Sainty <psainty@orcon.net.nz>2021-01-10 15:20:51 +1300
committerPhil Sainty <psainty@orcon.net.nz>2021-08-03 23:20:06 +1200
commit748df220efdd46439578f252ee18091770c82af6 (patch)
treeb8ec763c94144e87211343fbba347262535920e2 /test/lisp/so-long-tests/spelling-tests.el
parent7828f69828fa4082771927993542a1f39abb0e61 (diff)
downloademacs-748df220efdd46439578f252ee18091770c82af6.tar.gz
; * lisp/so-long.el: Minor bug fixes
(so-long-disable-minor-modes): Don't call the mode function to disable the mode unless it was actually enabled. (so-long-restore-minor-modes, so-long-restore-variables): Use the remembered list values, which might be different to the defaults. Also comments, and spelling consistency changes for the so-long tests (a fixup for commit 83bc4ad369 which had only addressed so-long.el, and not the test files).
Diffstat (limited to 'test/lisp/so-long-tests/spelling-tests.el')
-rw-r--r--test/lisp/so-long-tests/spelling-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/so-long-tests/spelling-tests.el b/test/lisp/so-long-tests/spelling-tests.el
index 0be8555bdd2..f778b646635 100644
--- a/test/lisp/so-long-tests/spelling-tests.el
+++ b/test/lisp/so-long-tests/spelling-tests.el
@@ -57,7 +57,7 @@
(unwind-protect
(cl-letf (((symbol-function 'ispell-command-loop)
(lambda (_miss _guess word _start _end)
- (message "Unrecognized word: %s." word)
+ (message "Unrecognised word: %s." word)
(throw 'mistake t))))
(catch 'mistake
(find-library "so-long")