aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test_generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-12 11:32:53 -0500
committerCraig Jennings <c@cjennings.net>2026-06-12 11:32:53 -0500
commitdca3f3d60f305414e47c01f9abb4e09a18568512 (patch)
treef8aed78474961776718dc947930da0be87df8db8 /scripts/theme-studio/test_generate.py
parent205ac5464a5d312131d201cb9f1a4aa67cf2c866 (diff)
downloaddotemacs-dca3f3d60f305414e47c01f9abb4e09a18568512.tar.gz
dotemacs-dca3f3d60f305414e47c01f9abb4e09a18568512.zip
fix(ui-navigation): error clearly when undo-kill prefix exceeds the list
An out-of-range numeric prefix made (nth (1- arg) ...) return nil, and find-file on nil signaled a wrong-type-argument. Guard the index and raise a user-error naming how many killed files are available. A new test covers the out-of-range path.
Diffstat (limited to 'scripts/theme-studio/test_generate.py')
0 files changed, 0 insertions, 0 deletions