mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
Fix problem with notmuch-hello-nice-number
Without this little patch notmuch fails if asked to display a saved search that has zero results Edited-by: David Edmondson <dme@dme.org>: With code that is a little more "emacsy".
This commit is contained in:
parent
f99ad42da0
commit
ee578338a6
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ Typically \",\" in the US and UK and \".\" in Europe."
|
||||||
(while (> n 0)
|
(while (> n 0)
|
||||||
(push (% n 1000) result)
|
(push (% n 1000) result)
|
||||||
(setq n (/ n 1000)))
|
(setq n (/ n 1000)))
|
||||||
|
(setq result (or result '(0)))
|
||||||
(apply #'concat
|
(apply #'concat
|
||||||
(number-to-string (car result))
|
(number-to-string (car result))
|
||||||
(mapcar (lambda (elem)
|
(mapcar (lambda (elem)
|
||||||
|
|
Loading…
Reference in a new issue