Fix a previous commit
commitd6f3c2cf0628afaefe428140d8c6615e925044ad
authorTino Calancha <tino.calancha@gmail.com>
Thu, 20 Sep 2018 20:13:54 +0000 (21 05:13 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 20 Sep 2018 20:27:01 +0000 (21 05:27 +0900)
treea01a781e435bfedba411eb6eced8b83e35f7b47a
parent44c1ce3a370ed94199751d1429a65f40880b9234
Fix a previous commit

Suggested by Stefan Monnier here:
https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00783.html
* lisp/replace.el (occur--parse-occur-buffer): Since point is at the
beginning of the buffer, use `point'.

(occur-revert-function): Prefer `pcase-let' and `point-min'.
Check whether `region-start' or `region-end' are non-nil.
lisp/replace.el