summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-09-07 15:56:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-09-07 15:56:38 +0200
commitddb823e1964e31b0c105a5360913f51981435c46 (patch)
treef67a1eea231c19f073615670c5473db0eec5b0eb
parent56d75f0a24abb02f1915cc89d7a5a0678d83a5d0 (diff)
downloadorg-mode-ddb823e1964e31b0c105a5360913f51981435c46.tar.gz
org-footnote: Silence byte-compiler
* lisp/org-footnote.el (org-footnote-normalize-label): Silence byte-compiler.
-rw-r--r--lisp/org-footnote.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 820eb8b..e0fedfa 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -565,7 +565,7 @@ return nil instead."
(pcase (org-trim label)
("" nil)
((pred (string-prefix-p "fn:")) (substring label 3))
- (t label)))
+ (_ label)))
(defun org-footnote-get-definition (label)
"Return label, boundaries and definition of the footnote LABEL."