Subject: bug#39121: 27.0.60; occur: Add bindings for next-error-no-select

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 23 Jul 2021 16:05:30 +0200

Mattias Engdegård <[email-masked]> writes:

> As a cheapo fix to prevent the (possibly misguided) external package
> from crashing in Emacs 28, what about this?

Hm.  Well, the variable is defined to allow both nil/t in addition to a
string?

(defvar occur-highlight-regexp t
  "Regexp matching part of visited source lines to highlight temporarily.
Highlight entire line if t; don't highlight source lines if nil.")

So I think your patch looks correct.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no