aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2017-02-02 19:13:05 +0900
committerTino Calancha2017-02-02 19:13:05 +0900
commit8e871aef10455eefc34790a9ec011c6fec5e93fe (patch)
tree37af01d0672a78348691b9de7560d516c725826a /etc
parent141b085674e2945cc0c42bbe35548c368d1b023e (diff)
downloademacs-8e871aef10455eefc34790a9ec011c6fec5e93fe.tar.gz
emacs-8e871aef10455eefc34790a9ec011c6fec5e93fe.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 86a8385ae76..dcefb75fd55 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -311,6 +311,9 @@ substituted by a home directory by writing it as "/foo:/:/~/file".
311* Editing Changes in Emacs 26.1 311* Editing Changes in Emacs 26.1
312 312
313+++ 313+++
314** The 'occur' command can now operate on the region.
315
316+++
314** New bindings for 'query-replace-map'. 317** New bindings for 'query-replace-map'.
315'undo', undo the last replacement; bound to 'u'. 318'undo', undo the last replacement; bound to 'u'.
316'undo-all', undo all replacements; bound to 'U'. 319'undo-all', undo all replacements; bound to 'U'.