fix(gs/emacs): Return empty string if nothing in inbox
otherwise we'd return the string "nil", which with the substring-ing that was happening would end up as "Inbox: i" in the status bar Change-Id: I567a6042b592dd9313bfa22d480c22936494a8c1
This commit is contained in:
parent
9eec83843e
commit
909c1d02a2
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
(defun grfn/num-inbox-items-message ()
|
||||
(let ((n (grfn/num-inbox-items)))
|
||||
(unless (zerop n)
|
||||
(if (zerop n) ""
|
||||
(format "%d %s"
|
||||
n
|
||||
(if (= 1 n) "item" "items")))))
|
||||
|
|
Loading…
Reference in a new issue