org.el: Fix bug in `org-fill-paragraph'.

* org.el (org-fill-paragraph): Pass the `justify' argument to
`org-fill-paragraph-fallback-function'.

Thanks to Nick Dokos for spotting this.
This commit is contained in:
Bastien Guerry 2012-04-27 23:08:56 +02:00
parent 41b2a2e766
commit 30986cd7c5

View file

@ -20706,7 +20706,7 @@ the functionality can be provided as a fall-back.")
(fill-paragraph justify) t)) (fill-paragraph justify) t))
;; Else falls back on `org-fill-paragraph-fallback-function' ;; Else falls back on `org-fill-paragraph-fallback-function'
(org-fill-paragraph-fallback-function (org-fill-paragraph-fallback-function
(funcall org-fill-paragraph-fallback-function)) (funcall org-fill-paragraph-fallback-function justify))
;; Else simply call `fill-paragraph'. ;; Else simply call `fill-paragraph'.
(t nil)))) (t nil))))