Fix #2357: C-a moves across lines
This commit is contained in:
parent
5802bd7047
commit
51bb3a2b35
1 changed files with 4 additions and 0 deletions
|
@ -159,6 +159,10 @@ beginning of the line. The opposite of
|
|||
(cond ((> pt bot)
|
||||
(goto-char bot))
|
||||
((= pt bol)
|
||||
(or (and doom--last-backward-pt
|
||||
(= (line-number-at-pos doom--last-backward-pt)
|
||||
(line-number-at-pos pt)))
|
||||
(setq doom--last-backward-pt nil))
|
||||
(goto-char (or doom--last-backward-pt bot))
|
||||
(setq doom--last-backward-pt nil))
|
||||
((<= pt bot)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue