diff options
| author | Mattias EngdegÄrd | 2023-06-27 17:00:11 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-06-27 17:05:54 +0200 |
| commit | cf4ccc58284de50959ea66b1cd2655ab2fa4d15b (patch) | |
| tree | 65d6adea4b8aa13347ba7d6579b8fe7d8d3292ad /java/debug.sh | |
| parent | eca7394bdf2f57632238b2cf66c996b43cca2aef (diff) | |
| download | emacs-cf4ccc58284de50959ea66b1cd2655ab2fa4d15b.tar.gz emacs-cf4ccc58284de50959ea66b1cd2655ab2fa4d15b.zip | |
Speed up duplicate-line by a factor of 2
* lisp/misc.el (duplicate-line): Add the newline to the string to be
inserted instead of inserting it separately.
This makes duplicate-line as fast as duplicate-dwim with a contiguous
region. Both could easily be made faster yet by making the code more
complex.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions