|
@@ -17522,11 +17522,11 @@ this numeric value."
|
|
(interactive "r")
|
|
(interactive "r")
|
|
(let ((result ""))
|
|
(let ((result ""))
|
|
(while (/= beg end)
|
|
(while (/= beg end)
|
|
- (when (get-char-property beg 'invisible)
|
|
|
|
- (setq beg (next-single-char-property-change beg 'invisible nil end)))
|
|
|
|
- (let ((next (next-single-char-property-change beg 'invisible nil end)))
|
|
|
|
- (setq result (concat result (buffer-substring beg next)))
|
|
|
|
- (setq beg next)))
|
|
|
|
|
|
+ (if (get-char-property beg 'invisible)
|
|
|
|
+ (setq beg (next-single-char-property-change beg 'invisible nil end))
|
|
|
|
+ (let ((next (next-single-char-property-change beg 'invisible nil end)))
|
|
|
|
+ (setq result (concat result (buffer-substring beg next)))
|
|
|
|
+ (setq beg next))))
|
|
(setq deactivate-mark t)
|
|
(setq deactivate-mark t)
|
|
(kill-new result)
|
|
(kill-new result)
|
|
(message "Visible strings have been copied to the kill ring.")))
|
|
(message "Visible strings have been copied to the kill ring.")))
|