Allow occur command to operate on the region
commit8e871aef10455eefc34790a9ec011c6fec5e93fe
authorTino Calancha <tino.calancha@gmail.com>
Thu, 2 Feb 2017 10:13:05 +0000 (2 19:13 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 2 Feb 2017 10:13:05 +0000 (2 19:13 +0900)
tree37af01d0672a78348691b9de7560d516c725826a
parent141b085674e2945cc0c42bbe35548c368d1b023e
Allow occur command to operate on the region

See discussion in:
https://lists.gnu.org/archive/html/emacs-devel/2016-12/msg01084.html
* lisp/replace.el (occur--region-start, occur--region-end)
(occur--matches-threshold): New variables.
(occur-engine): Use them.
(occur): Idem.
Add optional arg REGION; if non-nil occur applies in that region.
* doc/lispintro/emacs-lisp-intro.texi (Keybindings): Update manual
* doc/emacs/search.texi (Other Repeating Search): Idem.
; etc/NEWS: Add entry for the new feature.
doc/emacs/search.texi
doc/lispintro/emacs-lisp-intro.texi
etc/NEWS
lisp/replace.el