lang/org: replace obsolete org-match-string-no-properties

This commit is contained in:
Henrik Lissner 2017-12-16 23:48:29 -05:00
parent d7a4d6fc39
commit ccaaca2d88
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -290,8 +290,8 @@ with `org-cycle'). Also:
(save-excursion
(let ((remove (list (match-beginning 0) (match-end 0)))
(description (if (match-end 3)
(org-match-string-no-properties 3)
(org-match-string-no-properties 1))))
(match-string-no-properties 3)
(match-string-no-properties 1))))
(apply #'delete-region remove)
(insert description))))