emacs: rename notmuch-decimal-separator to notmuch-hello-thousands-separator

In 123,456.78, "." is the decimal separator, but "," is the thousands separator.
This commit is contained in:
Thomas Jost 2011-12-21 14:44:18 +01:00 committed by David Bremner
parent 0fc424a1f0
commit 6dd482a16d

View file

@ -132,8 +132,8 @@ So:
(integer :tag "Number of characters")
(float :tag "Fraction of window")))
(defcustom notmuch-decimal-separator ","
"The string used as a decimal separator.
(defcustom notmuch-hello-thousands-separator ","
"The string used as a thousands separator.
Typically \",\" in the US and UK and \".\" in Europe."
:group 'notmuch
@ -170,7 +170,7 @@ Typically \",\" in the US and UK and \".\" in Europe."
(apply #'concat
(number-to-string (car result))
(mapcar (lambda (elem)
(format "%s%03d" notmuch-decimal-separator elem))
(format "%s%03d" notmuch-hello-thousands-separator elem))
(cdr result)))))
(defun notmuch-hello-trim (search)