branch: elpa/multiple-cursors
commit bbbe90d274ffd27ebce7a0ba48e23edfe4d00a84
Author: Jules Tamagnan <[email protected]>
Commit: Jules Tamagnan <[email protected]>
Minor changes mark-next-like-this-word and readme
* README.md: Adjust read to no longer recommend extend region if user
is using mark-next-like-this-word
* mc-mark-more.el: mark-next-like-this-word makrs whole word and not
only from point to the end of the word
---
README.md | 2 +-
mc-mark-more.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index dfc8ad1..541f2b1 100644
--- a/README.md
+++ b/README.md
@@ -122,7 +122,7 @@ You can [watch an intro to multiple-cursors at Emacs
Rocks](http://emacsrocks.co
- If you would like to keep the global bindings clean, and get custom
keybindings
when the region is active, you can try
[region-bindings-mode](https://github.com/fgallina/region-bindings-mode).
-BTW, I highly recommend adding `mc/mark-next-like-this` or
`mc/mark-next-like-this-word` to a key binding that's
+BTW, I highly recommend adding `mc/mark-next-like-this` to a key binding that's
right next to the key for `er/expand-region`.
### Binding mouse events
diff --git a/mc-mark-more.el b/mc-mark-more.el
index a25c16c..ee5eb5f 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -152,7 +152,7 @@ With zero ARG, skip the last one and mark next."
(error "No cursors to be unmarked")))
(if (region-active-p)
(mc/mark-more-like-this (= arg 0) 'forwards)
- (mark-word)
+ (mc--select-thing-at-point 'word)
(mc/mark-more-like-this (= arg 0) 'forwards)))
(mc/maybe-multiple-cursors-mode))