]> git.eshelyaron.com Git - emacs.git/commit
Fix bug 32543
authorTino Calancha <tino.calancha@gmail.com>
Tue, 18 Sep 2018 12:29:59 +0000 (21:29 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Tue, 18 Sep 2018 12:29:59 +0000 (21:29 +0900)
commit75d9a55fae1c484aa6d213064931bfe3b65cf5dd
tree897dc16b3a037d58185ccee6f18b87a16d9bb8d7
parent458948189e56a110739ff9002236d269b8382293
Fix bug 32543

Store the region and orig line into the *Occur* header line.
Retrieve this information in `occur-revert-function'.
* lisp/replace.el (occur--parse-occur-buffer): New defun.
(occur-revert-function): Use it.
(occur-engine): Store region and original position as text properties
into the *Occur* header line.
* lisp/replace.el (occur-engine): Add sensible default values for
(occur--orig-line and nlines.
lisp/replace.el