Skip to content

Commit 07ca33e

Browse files
skangaskyleam
authored andcommitted
Backport commit 2a05479c2 from Emacs
; Fix typos: prefer American spelling 2a05479c221d4a13b15ed731e4eb1c0de99e97ed Stefan Kangas Thu Jul 14 12:13:31 2022 +0200
1 parent 69ba7a2 commit 07ca33e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lisp/org-plot.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ argument for the FUNCTION."
272272
for k in keys collect
273273
(cons k (funcall function (lookup k alist1) (lookup k alist2))))))
274274

275-
(defun org--plot/item-frequencies (values &optional normalise)
275+
(defun org--plot/item-frequencies (values &optional normalize)
276276
"Return an alist indicating the frequency of values in VALUES list.
277-
When NORMALISE is non-nil, the count is divided by the number of values."
278-
(let ((normaliser (if normalise (float (length values)) 1)))
277+
When NORMALIZE is non-nil, the count is divided by the number of values."
278+
(let ((normaliser (if normalize (float (length values)) 1)))
279279
(cl-loop for (n . m) in (seq-group-by #'identity values)
280280
collect (cons n (/ (length m) normaliser)))))
281281

0 commit comments

Comments
 (0)