summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-06-20 11:16:26 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-26 14:23:30 +0200
commit592ae7ffe20aa9b5508fa0ac51dcf0ba33881b3c (patch)
treebb352983d724597ba5f418060ccc53831f261380 /lisp/emacs-lisp/regexp-opt.el
parentfc1b7b720b5771a330f36e9a52688d73b790e478 (diff)
downloademacs-592ae7ffe20aa9b5508fa0ac51dcf0ba33881b3c.tar.gz
emacs-592ae7ffe20aa9b5508fa0ac51dcf0ba33881b3c.tar.bz2
emacs-592ae7ffe20aa9b5508fa0ac51dcf0ba33881b3c.zip
Add duplicate-dwim (bug#56418)
Like duplicate-line but duplicates the region instead if active. Rectangular regions are duplicated on the right-hand side. The region remains active afterwards, to facilitate further duplication or other operations on the same text. * lisp/rect.el (rectangle--duplicate-right): * lisp/misc.el (duplicate-dwim): New. * test/lisp/misc-tests.el (misc--duplicate-dwim): New test. * etc/NEWS: Announce.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions