diff options
author | Juri Linkov <juri@linkov.net> | 2018-02-06 23:20:10 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-02-06 23:20:10 +0200 |
commit | 31350817ae6eda2e071dbc28f1f1edc50e5f3b0c (patch) | |
tree | 60bc5152558543048b7dc6446ca27a13b7091926 /test/lisp/emacs-lisp/derived-tests.el | |
parent | 5c414441ed73f1a302a2953dc493e83b98589262 (diff) | |
download | emacs-31350817ae6eda2e071dbc28f1f1edc50e5f3b0c.tar.gz emacs-31350817ae6eda2e071dbc28f1f1edc50e5f3b0c.tar.bz2 emacs-31350817ae6eda2e071dbc28f1f1edc50e5f3b0c.zip |
Support occur command operating on the region from Isearch.
* lisp/isearch.el (isearch-occur): Use region-bounds as region arg of occur.
(isearch-query-replace): Use use-region-p.
* lisp/replace.el (occur--region-start-line): Rename from
occur--matches-threshold.
(occur): Use complete lines when region is active for line-oriented occur.
(occur-engine): Count lines either from occur--region-start-line or 1.
Diffstat (limited to 'test/lisp/emacs-lisp/derived-tests.el')
0 files changed, 0 insertions, 0 deletions