1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00

(cua--extract-rectangle): Don't use \s in strings.

This commit is contained in:
Kim F. Storm 2005-12-08 20:56:35 +00:00
parent c4d0833571
commit ea707ec6a0

View File

@ -641,11 +641,11 @@ If command is repeated at same position, delete the rectangle."
(if (= (point) (line-end-position))
(setq bs (- r l)
copy nil)
(skip-chars-forward "\s\t" e)
(skip-chars-forward " \t" e)
(setq bs (- (min r (current-column)) l)
s (point))
(move-to-column r)
(skip-chars-backward "\s\t" s)
(skip-chars-backward " \t" s)
(setq as (- r (max (current-column) l))
e (point)))
(setq row (if (and copy (> e s))