I added a schematic even though the question is actually too simple for it. The datasheets for the devices are likely to be more revealing.
The circuit is super simple. I have a 74HC148 priority encoder. I attach its encoded outputs (A0..A2) to the parallel load inputs (P0..P2) of a 74HC193 counter, and strobe that word into the 74HC193 by connecting the GS output from the 74HC148 to the /PL input of the 74HC193. (I am not actually using the counter as a counter, just as a quad latch, though this probably doesn't matter.)
When one of the inputs to the priority encoder is activated, GS goes low then snaps back high when the input is released, which is why the latching works. It does this just barely a few nanoseconds before the A0..A2 outputs resume their previous state. It's a race condition being won.
I have experimented with this a lot and have 3 handmade circuits in operation based on it, all working. I have tried changing the 74HC193 to different manufacturers versions (but not the 148 because I don't have other types handy). I have even tried the same circuit with all LS TTL ICs. All have worked wonderfully. I even tried a variation where I used a 74HC75 quad latch being strobed by the E0 output of the priority encoder, and as I recall, it worked too.
So here is my problem, and big question. I want to go to some expense now and include this circuit in a manufactured product. I read the datasheets and realise that under some interpretations my circuit shouldn't even be working at all! Even though I am winning the race condition every time now, it doesn't mean I will always be that lucky in the future.
Maybe I just am not skilled enough at reading the datasheets, and it is in fact safe for me to assume that this trick will keep working. Or maybe the opposite is true and I should add some persistence to the A0..A2 outputs in any mass-produced circuit, just for safety.
The big question is, "is it likely to be the case that this race condition will always be won, or should I do something more to tilt the odds in my favour?"