diff --git a/lisp/org.el b/lisp/org.el index 542959f73..497baa850 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11588,8 +11588,7 @@ the list of tags in this group." (delete-overlay org-tags-overlay) (defun org-add-prop-inherited (s) - (add-text-properties 0 (length s) '(inherited t) s) - s) + (propertize s 'inherited t)) (defun org-toggle-tag (tag &optional onoff) "Toggle the tag TAG for the current line.