Looking at how to integrate this (which is always iffy when we're
dealing with several packages), I think this has to be done the other
way. That is, `bookmark-make-record' has to check whether the file is
encrypted or not, becaues `*insert-file-contents' might not have been
run at all (if this is a new encrypted file, for instance).
So `tramp-crypt-file-name-p' is perfect for that, but there doesn't
seem
to be any `epa-file-name-p' (or something equivalent)? Hm... OK,
that
was trivial to add, so I've now done it this way in Emacs 29.