diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-11 14:29:02 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-11 14:29:02 -0500 |
| commit | 1ba475cb0cf7076a284b13d808029309d13ea08c (patch) | |
| tree | 2de80013ee25a71f6fb1e913dd0362878068a5fa /modules/latex-config.el | |
| parent | 15a4c19fc24a4422122844e20be7ab569d676865 (diff) | |
| download | dotemacs-1ba475cb0cf7076a284b13d808029309d13ea08c.tar.gz dotemacs-1ba475cb0cf7076a284b13d808029309d13ea08c.zip | |
fix(custom-line-paragraph): correct paren-jump, line-join, and duplicate
This module carried three editing bugs.
cj/jump-to-matching-paren, with point on a closing delimiter, ran backward-sexp from there and landed on the last inner sexp instead of the opener. It now steps past the closer first so backward-sexp spans the whole expression, and restores point when the delimiter is unmatched. Four tests that asserted the last-inner-sexp landings are corrected to the true matching opener.
cj/join-line-or-region, without a region, added a newline unconditionally after joining, which left a stray blank line when joining a line in the middle of the buffer. It now adds the newline only at end of buffer.
cj/duplicate-line-or-region duplicated a stray empty line for a region ending at beginning-of-line and split the line for a region ending mid-line. I normalized the bounds to the whole lines the region touches and insert that block once.
Diffstat (limited to 'modules/latex-config.el')
0 files changed, 0 insertions, 0 deletions
