diff options
| author | David Bremner <david@tethera.net> | 2025-02-25 07:25:59 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2025-02-25 07:25:59 -0400 |
| commit | e3d4721b1ba4836c7646e057b50123fe994652eb (patch) | |
| tree | 744b67f11574c8004067d4a04ecf337ce8b07f14 /test/test-lib.el | |
| parent | e9da6780e31262db07f3a4d6ca1cd828f4d3fb94 (diff) | |
test/emacs: add workaround for Emacs 30 pp changes
This relies on the fact that setting pp-default-function has no effect
for Emacs <30.
Diffstat (limited to 'test/test-lib.el')
| -rw-r--r-- | test/test-lib.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-lib.el b/test/test-lib.el index 4cfb8ef1..bf1fab66 100644 --- a/test/test-lib.el +++ b/test/test-lib.el @@ -33,6 +33,9 @@ (require 'cl-lib) +;; Use old pretty print algorithm, so tests don't break with Emacs 30 +(setq-default pp-default-function 'pp-28) + ;; Ensure that the dynamic variables that are defined by this library ;; are defined by the time that we let-bind them. This is needed ;; because starting with Emacs 27 undeclared variables in evaluated |
