Subject: bug#68782: 29.2; occur edit mode not updating font lock

From: Eli Zaretskii <[email-masked]>
Date: Sun, 28 Jan 2024 17:04:21 +0200

> From: Pranshu <[email-masked]>
> Date: Sun, 28 Jan 2024 22:35:21 +1000
> 
> 
> Emacs is not updating the font colors when changes are made in occur
> edit-mode.
> Recpie from emacs -q:
> 1. go to scratch buffer
> 2. copy the following text
> --------
> ;; test
> rest
> ;; test
> rest
> -------
> 2. M-s o test RET e to go to occur edit mode
> 3. M-% ;; RET RET !  to uncomment all
> 
> Now, in the scratch buffer the colours have not been refreshed.

Something is wrong with the recipe, because in step 2 RET switches
back to *scratch*, and 'e' in *scratch* doesn't invoke occur edit
mode.

Is the recipe missing some steps?