Skip to content

Commit

Permalink
Merge pull request #349 from ShuguangSun/parcifydefault
Browse files Browse the repository at this point in the history
parcify the warning of non-used argument `default'
  • Loading branch information
tmalsburg authored Jan 8, 2021
2 parents 1bb81d7 + 9cd2339 commit 94807a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibtex-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ Return DEFAULT if FIELD is not present in ENTRY."
("year" (or value
(car (split-string (bibtex-completion-get-value "date" entry "") "-"))))
(_ value))
"")))))
(or default ""))))))

(defun bibtex-completion-apa-format-authors (value &optional abbrev)
"Format author list in VALUE in APA style.
Expand Down

0 comments on commit 94807a3

Please sign in to comment.