-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the usability of
rust-dbg-wrap-or-unwrap
(#498)
* rust-dbg-wrap-or-unwrap: Cut unnecessary conditional branches for region-active-p * rust-dbg-wrap-or-unwrap: Do not using save-excursion anymore * rust-dbg-wrap-or-unwrap: Use cond, allow more other cases. * rust-dbg-wrap-or-unwrap: Introduce rust-insert-dbg-alone * rust-dbg-wrap-or-unwrap: Adjust cursor position after insertion * rust-dbg-wrap-or-unwrap: Add tests for empty line * rust-dbg-wrap-or-unwrap: Test final position in empty line case * rust-dbg-wrap-or-unwrap: Test final cursor position in existing wrap tests
- Loading branch information
Showing
2 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters