Browse Source

org-footnote: Silence byte-compiler

* lisp/org-footnote.el (org-footnote-normalize-label): Silence
  byte-compiler.
Nicolas Goaziou 2 years ago
parent
commit
ddb823e196
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-footnote.el

+ 1 - 1
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."