<spc> selects line, not visual line

This commit is contained in:
Jean-Philippe Bernardy 2016-08-29 22:49:57 +02:00
parent 9e7f549a56
commit fd0319ca3e

View file

@ -85,7 +85,7 @@ point, or, if this fails, the sexp at point."
"Return a region of COUNT visual lines." "Return a region of COUNT visual lines."
(interactive "p") (interactive "p")
(setq temporary-goal-column 0) (setq temporary-goal-column 0)
(boon-select-n count 'beginning-of-visual-line 'line-move-visual)) (boon-select-n count 'beginning-of-line 'forward-visible-line))
(defun boon-select-n (count goto-beginning forward-n) (defun boon-select-n (count goto-beginning forward-n)
"Return a region of COUNT objects defined by GOTO-BEGINNING and FORWARD-N." "Return a region of COUNT objects defined by GOTO-BEGINNING and FORWARD-N."