]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-register-1): Explicitly handle yank-excluded-properties = t.
authorRichard M. Stallman <rms@gnu.org>
Sun, 27 Feb 2005 10:34:59 +0000 (10:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 27 Feb 2005 10:34:59 +0000 (10:34 +0000)
lisp/register.el

index bab9d01edf2b0a33953b72a1e18191fa065bfcad..253207c31406bcfd7fd1451c20033025113b2312 100644 (file)
@@ -227,8 +227,10 @@ The Lisp value REGISTER is a character."
        (princ (car val))))
 
      ((stringp val)
-      (remove-list-of-text-properties 0 (length val)
-                                      yank-excluded-properties val)
+      (if (eq yank-excluded-properties t)
+         (set-text-properties 0 (length val) nil val)
+       (remove-list-of-text-properties 0 (length val)
+                                       yank-excluded-properties val))
       (if verbose
          (progn
            (princ "the text:\n")