summaryrefslogtreecommitdiffstatshomepage
path: root/nroam.el
diff options
context:
space:
mode:
authorGravatar Nicolas Petton2021-02-25 12:42:11 +0100
committerGravatar Nicolas Petton2021-02-25 12:42:11 +0100
commit90a0ba1599c4738821b3c583cf8d3144f3241df5 (patch)
treef0767db17b23d892707a86e8d2cd4902d81b06a5 /nroam.el
parent580aa038224ad34892d2251fe60aa465535e015d (diff)
downloadnroam-90a0ba1599c4738821b3c583cf8d3144f3241df5.tar.gz
nroam-90a0ba1599c4738821b3c583cf8d3144f3241df5.zip
* nroam.el (nroam--hide-drawers): Reformat.
Diffstat (limited to 'nroam.el')
-rw-r--r--nroam.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/nroam.el b/nroam.el
index db72814..944290d 100644
--- a/nroam.el
+++ b/nroam.el
@@ -289,9 +289,7 @@ Temporary fix until `org-roam' v2 is out."
(defun nroam--pluralize (n thing)
"Pluralize the string THING if N>1."
- (format "%s%s"
- thing
- (if (> n 1) "s" "")))
+ (format "%s%s" thing (if (> n 1) "s" "")))
(defun nroam--ensure-empty-line ()
"Insert a newline character if the buffer does contain one before point."