diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-14 11:55:52 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-14 12:13:31 +0200 |
commit | 2a05479c221d4a13b15ed731e4eb1c0de99e97ed (patch) | |
tree | 2b28f1c72560050896e5461e068316fc59bbd4bd /lisp/org/org-plot.el | |
parent | ddecd864cfeced3e8a01d1b58ef8dcffd177c0f8 (diff) | |
download | emacs-2a05479c221d4a13b15ed731e4eb1c0de99e97ed.tar.gz |
; Fix typos: prefer American spelling
Diffstat (limited to 'lisp/org/org-plot.el')
-rw-r--r-- | lisp/org/org-plot.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el index 4507fbe7ddc..7cce678a81b 100644 --- a/lisp/org/org-plot.el +++ b/lisp/org/org-plot.el @@ -272,10 +272,10 @@ argument for the FUNCTION." for k in keys collect (cons k (funcall function (lookup k alist1) (lookup k alist2)))))) -(defun org--plot/item-frequencies (values &optional normalise) +(defun org--plot/item-frequencies (values &optional normalize) "Return an alist indicating the frequency of values in VALUES list. -When NORMALISE is non-nil, the count is divided by the number of values." - (let ((normaliser (if normalise (float (length values)) 1))) +When NORMALIZE is non-nil, the count is divided by the number of values." + (let ((normaliser (if normalize (float (length values)) 1))) (cl-loop for (n . m) in (seq-group-by #'identity values) collect (cons n (/ (length m) normaliser))))) |