[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs Kill/Wipeout/Yank bug
From: |
Richard Stallman |
Subject: |
Re: emacs Kill/Wipeout/Yank bug |
Date: |
Sun, 21 May 2006 22:39:13 -0400 |
I fixed this in the development sources. Thanks.
*** simple.el 12 May 2006 17:39:59 -0000 1.802
--- simple.el 21 May 2006 22:56:27 -0000 1.804
***************
*** 2549,2555 ****
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")
(condition-case nil
(let ((string (filter-buffer-substring beg end t)))
(when string ;STRING is nil if BEG = END
--- 2549,2557 ----
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'."
! ;; 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