# HG changeset patch # User Richard M. Stallman # Date 1148252187 0 # Node ID d3fec44f2362c2e635e2363f396d90aaba84192a # Parent 7cdd7550b8a1073c2247a066d0de6e0a8d820570 (kill-region): Interactively, pass point, then mark. diff -r 7cdd7550b8a1 -r d3fec44f2362 lisp/simple.el --- a/lisp/simple.el Sun May 21 22:25:22 2006 +0000 +++ b/lisp/simple.el Sun May 21 22:56:27 2006 +0000 @@ -2549,7 +2549,9 @@ In Lisp code, optional third arg YANK-HANDLER, if non-nil, specifies the yank-handler text property to be set on the killed text. See `insert-for-yank'." - (interactive "r") + ;; Pass point first, then mark, because the order matters + ;; when calling kill-append. + (interactive (list (point) (mark))) (condition-case nil (let ((string (filter-buffer-substring beg end t))) (when string ;STRING is nil if BEG = END