diff options
| -rw-r--r-- | lisp/register.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/register.el b/lisp/register.el index c93d52c9f9b..98adce7ae86 100644 --- a/lisp/register.el +++ b/lisp/register.el | |||
| @@ -230,6 +230,9 @@ The Lisp value REGISTER is a character." | |||
| 230 | (princ (car val)))) | 230 | (princ (car val)))) |
| 231 | 231 | ||
| 232 | ((stringp val) | 232 | ((stringp val) |
| 233 | (setq val | ||
| 234 | (remove-list-of-text-properties 0 (length val) | ||
| 235 | yank-excluded-properties val)) | ||
| 233 | (if verbose | 236 | (if verbose |
| 234 | (progn | 237 | (progn |
| 235 | (princ "the text:\n") | 238 | (princ "the text:\n") |
| @@ -253,7 +256,7 @@ Interactively, second arg is non-nil if prefix arg is supplied." | |||
| 253 | ((consp val) | 256 | ((consp val) |
| 254 | (insert-rectangle val)) | 257 | (insert-rectangle val)) |
| 255 | ((stringp val) | 258 | ((stringp val) |
| 256 | (insert val)) | 259 | (insert-for-yank val)) |
| 257 | ((numberp val) | 260 | ((numberp val) |
| 258 | (princ val (current-buffer))) | 261 | (princ val (current-buffer))) |
| 259 | ((and (markerp val) (marker-position val)) | 262 | ((and (markerp val) (marker-position val)) |