+2002-12-21 Andreas Schwab <schwab@suse.de>
+
+ * dired.el (dired-insert-directory): Preserve text properties
+ when quoting.
+
2002-12-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
* mail/undigest.el (rmail-mail-separator): Renamed from
(setq end (point-marker))
(goto-char opoint)
(while (search-forward "\\" end t)
- (replace-match "\\\\" nil t))
+ (replace-match (apply #'propertize
+ "\\\\"
+ (text-properties-at (match-beginning 0)))
+ nil t))
(goto-char opoint)
(while (search-forward "\^m" end t)
- (replace-match "\\015" nil t))
+ (replace-match (apply #'propertize
+ "\\015"
+ (text-properties-at (match-beginning 0)))
+ nil t))
(set-marker end nil)))
(dired-insert-set-properties opoint (point))
;; If we used --dired and it worked, the lines are already indented.