aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-hello.el
diff options
context:
space:
mode:
authorGravatar Thomas Jost <schnouki@schnouki.net>2011-12-21 14:44:18 +0100
committerGravatar David Bremner <bremner@debian.org>2011-12-22 06:56:26 -0400
commit6dd482a16dd16252f9c5783ee65ce8bcd3d87eca (patch)
treedcad6a6027a706e9ed5b22c368c99131b86243c7 /emacs/notmuch-hello.el
parent0fc424a1f00f49599c231e8dcbdb2fe156f237e3 (diff)
emacs: rename notmuch-decimal-separator to notmuch-hello-thousands-separator
In 123,456.78, "." is the decimal separator, but "," is the thousands separator.
Diffstat (limited to 'emacs/notmuch-hello.el')
-rw-r--r--emacs/notmuch-hello.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 698f3cb7..e6f87f8a 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -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)