What happens if you disable an interrupt inside that interrupt's ISR?
For example, if I am transmitting data over USART from a buffer and that buffer runs out of data then I want to stop transmitting temporarily, so after sending the last byte in the buffer, I disable the interrupt.
(This is on a PIC18F4580)
The datasheet for the PIC18F4580 states that "erratic behaviour may occur" if an interrupt is disabled inside of an ISR.