Simplify comments matching functions
commitf768629404fbb9260a611823b1cc266d1407abc2
authorBastien Guerry <bzg@altern.org>
Mon, 26 May 2014 15:33:24 +0000 (26 17:33 +0200)
committerBastien Guerry <bzg@altern.org>
Mon, 26 May 2014 15:33:24 +0000 (26 17:33 +0200)
tree84de144f6cfc47108c68f1d4c73fc7b62c7ffd12
parent956c00cce336dbe47494604f788da71a10d17626
Simplify comments matching functions

* org.el (org-fontify-entities): Use `org-at-comment-p'.
(org-in-commented-line): Delete.
(org-in-indented-comment-line): Delete.
(org-at-comment-p): Also match indented comments and save
match data.

* org-footnote.el (org-footnote-in-valid-context-p): Use
`org-at-comment-p'.
lisp/org-footnote.el
lisp/org.el