mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -05:00
(internal): refactor org-roam--pluralize (#525)
This commit is contained in:
@ -108,7 +108,7 @@ When non-nil, the window will not be closed when deleting other windows."
|
|||||||
(wrong-type (signal 'wrong-type-argument
|
(wrong-type (signal 'wrong-type-argument
|
||||||
`((listp integerp)
|
`((listp integerp)
|
||||||
,wrong-type))))))
|
,wrong-type))))))
|
||||||
(format "%s%s" string (if (> l 1) "s" ""))))
|
(concat string (when (> l 1) "s"))))
|
||||||
|
|
||||||
(defun org-roam-buffer--insert-citelinks ()
|
(defun org-roam-buffer--insert-citelinks ()
|
||||||
"Insert citation backlinks for the current buffer."
|
"Insert citation backlinks for the current buffer."
|
||||||
|
Reference in New Issue
Block a user