diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-05-27 21:59:19 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-05-27 21:59:19 +0200 |
commit | 2086ea42cfb3f895c576ed4e27da4f6a502ce86c (patch) | |
tree | 0772cab09504f8c4eae2b4d91def4608449d1c39 | |
parent | 1f0561b63ce96ca208b2b16644fc6197020b426c (diff) | |
download | org-mode-2086ea42cfb3f895c576ed4e27da4f6a502ce86c.tar.gz |
org-footnote: Tiny refactoring
* lisp/org-footnote.el (org-footnote-section): Tiny refactoring.
-rw-r--r-- | lisp/org-footnote.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 916f5cd..d3abe78 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -115,9 +115,7 @@ you will need to run the following command after the change: :type '(choice (string :tag "Collect footnotes under heading") (const :tag "Define footnotes locally" nil)) - :safe (lambda (x) - (or (eq x nil) - (stringp x)))) + :safe #'string-or-null-p) (defcustom org-footnote-define-inline nil "Non-nil means define footnotes inline, at reference location. |