summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-20 08:35:54 +0200
committerBastien Guerry <bzg@altern.org>2012-08-20 08:35:54 +0200
commitdd7b0aa1710b272df701fd5474173b38c740ca87 (patch)
treeb7796de6f8ffdc327da9090c097116e4904e5e5f
parent4e5ed3c45381631293fc778309de12c2d6a9da70 (diff)
downloadorg-mode-dd7b0aa1710b272df701fd5474173b38c740ca87.tar.gz
org.el (org-fill-paragraph): Require org-element
* org.el (org-fill-paragraph): Require org-element.
-rw-r--r--lisp/org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 6e25651..eeda156 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -21038,6 +21038,7 @@ a footnote definition, try to fill the first paragraph within."
(save-excursion
;; Move to end of line in order to get the first paragraph within
;; a plain list or a footnote definition.
+ (require 'org-element)
(end-of-line)
(let ((element (org-element-at-point)))
;; First check if point is in a blank line at the beginning of the