org-footnote: Guard against `def' being nil, if footnote undefined

This commit is contained in:
John Wiegley 2011-08-06 01:20:50 -05:00
parent 54c722a83a
commit bb08fab804
1 changed files with 2 additions and 1 deletions

View File

@ -651,7 +651,8 @@ Additional note on `org-footnote-insert-pos-for-preprocessor':
(org-combine-plists (org-combine-plists
export-props export-props
'(:todo-keywords t :tags t :priority t)))) '(:todo-keywords t :tags t :priority t))))
(org-export-preprocess-string def parameters)) (if def
(org-export-preprocess-string def parameters)))
def) def)
inlinep) ref-table))) inlinep) ref-table)))
;; Remove definition of non-inlined footnotes. ;; Remove definition of non-inlined footnotes.