]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: rename notmuch-decimal-separator to notmuch-hello-thousands-separator
authorThomas Jost <schnouki@schnouki.net>
Wed, 21 Dec 2011 13:44:18 +0000 (14:44 +0100)
committerDavid Bremner <bremner@debian.org>
Thu, 22 Dec 2011 10:56:26 +0000 (06:56 -0400)
In 123,456.78, "." is the decimal separator, but "," is the thousands separator.

emacs/notmuch-hello.el

index 698f3cb7fd2bd09d6500b6cd8063565074091691..e6f87f8ae3d81a7af18969a9cd0abc52f2578a61 100644 (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)