changeset 3288:f45c9ff6f425

[xemacs-hg @ 2006-03-17 16:54:59 by james] Fix an incomplete Emacs sync. See xemacs-patches message <m3k6avjrtm.fsf@jerrypc.cs.usu.edu> and its followups.
author james
date Fri, 17 Mar 2006 16:55:00 +0000
parents 681d0fbb904e
children f97e1a4cbc28
files lisp/ChangeLog lisp/register.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Mar 17 16:50:04 2006 +0000
+++ b/lisp/ChangeLog	Fri Mar 17 16:55:00 2006 +0000
@@ -1,3 +1,8 @@
+2006-03-15  Jerry James  <james@xemacs.org>
+
+	* register.el (describe-register-1): Use set-text-properties
+	instead of the nonexistent remove-list-of-text-properties.
+
 2006-03-14  Jerry James  <james@xemacs.org>
 
 	* wid-edit.el (widget-move-and-invoke): New function, used by Gnus.
--- a/lisp/register.el	Fri Mar 17 16:50:04 2006 +0000
+++ b/lisp/register.el	Fri Mar 17 16:55:00 2006 +0000
@@ -231,8 +231,8 @@
 	(princ (car val))))
 
      ((stringp val)
-      (remove-list-of-text-properties 0 (length val)
-                                      yank-excluded-properties val)
+      ;; XEmacs change: we don't have remove-list-of-text-properties
+      (set-text-properties 0 (length val) nil val)
       (if verbose
 	  (progn
 	    (princ "the text:\n")