mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: fix prot-simple-transpose-chars at the end of the line
This commit is contained in:
parent
25dbe773b6
commit
26c39578ba
|
|
@ -16603,8 +16603,10 @@ There is no dragging the character forward. This is the
|
|||
behaviour of `transpose-chars' when point is at the end of the
|
||||
line."
|
||||
(interactive)
|
||||
(transpose-chars -1)
|
||||
(forward-char))
|
||||
(if (eq (point) (line-end-position))
|
||||
(transpose-chars 1)
|
||||
(transpose-chars -1)
|
||||
(forward-char)))
|
||||
|
||||
;;;; Commands for paragraphs
|
||||
|
||||
|
|
|
|||
|
|
@ -624,8 +624,10 @@ There is no dragging the character forward. This is the
|
|||
behaviour of `transpose-chars' when point is at the end of the
|
||||
line."
|
||||
(interactive)
|
||||
(transpose-chars -1)
|
||||
(forward-char))
|
||||
(if (eq (point) (line-end-position))
|
||||
(transpose-chars 1)
|
||||
(transpose-chars -1)
|
||||
(forward-char)))
|
||||
|
||||
;;;; Commands for paragraphs
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue