mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-14 03:25:15 +01:00
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:
parent
0fc424a1f0
commit
6dd482a16d
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue