Next time you are in this situation, you can either:
(A) Binge Eat- be happy now that you are eating delicious food, but then feel bad after the guilt sets in.
(B) Eat a healthy snack instead- feel sad now (possibly) because you feel deprived, but feel happy about your good decision later.
Either way, you are going to be both happy and sad about your decision. But if you choose option B, you're going to look better and be healthier tomorrow and that much closer to your goals.