Remove `org-substring-no-properties' and some redundant code
commit722e0e0c83df32fbf0c858beb07d108a48a7c4ce
authorBastien Guerry <bzg@altern.org>
Wed, 15 Aug 2012 07:35:21 +0000 (15 09:35 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 15 Aug 2012 07:35:21 +0000 (15 09:35 +0200)
treeb493acd5fe9695f7fe4e9c8bd1ec8ca470e2b2c1
parent16ea0364a4e1c561a9f166586e484b5c1235683c
Remove `org-substring-no-properties' and some redundant code

* org-macs.el (org-no-properties): Allow a new parameter
`restricted' to restrict the properties removal to those in
`org-rm-props'.  The default is now to remove all properties.

* org-compat.el (org-substring-no-properties): Remove unused
defun.

* org-remember.el (org-remember-apply-template): Remove
redundant removal of text properties.
(org-remember-apply-template): Use `org-no-properties'.

* org-capture.el (org-capture-fill-template): Remove redundant
removal of text properties.
(org-capture-fill-template): Use `org-no-properties'.

* org-gnus.el (org-gnus-open, org-gnus-follow-link): Use
`org-no-properties'.
lisp/org-capture.el
lisp/org-compat.el
lisp/org-gnus.el
lisp/org-macs.el
lisp/org-remember.el