I tried on 28.2; I was able to workaround the lack of file-name-parent-directory
(you can replace it with file-name-directory
which works just as well; however it also calls the defvar-keymap
function which is not present in 28, and it’s less clear how to work around that.