(internal): refactor org-roam--pluralize (#525)

This commit is contained in:
Leo Vivier 2020-04-26 13:07:19 +02:00 committed by GitHub
parent 487025aa2f
commit 4142300501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ When non-nil, the window will not be closed when deleting other windows."
(wrong-type (signal 'wrong-type-argument
`((listp integerp)
,wrong-type))))))
(format "%s%s" string (if (> l 1) "s" ""))))
(concat string (when (> l 1) "s"))))
(defun org-roam-buffer--insert-citelinks ()
"Insert citation backlinks for the current buffer."