emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 07ca33e603 25/50: Backport commit 2a05479c2 from Em


From: ELPA Syncer
Subject: [elpa] externals/org 07ca33e603 25/50: Backport commit 2a05479c2 from Emacs
Date: Tue, 4 Oct 2022 21:58:00 -0400 (EDT)

branch: externals/org
commit 07ca33e60380a74e30075349d3e6e62dd045ddff
Author: Stefan Kangas <stefan@marxist.se>
Commit: Kyle Meyer <kyle@kyleam.com>

    Backport commit 2a05479c2 from Emacs
    
    ; Fix typos: prefer American spelling
    2a05479c221d4a13b15ed731e4eb1c0de99e97ed
    Stefan Kangas
    Thu Jul 14 12:13:31 2022 +0200
---
 lisp/org-plot.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/org-plot.el b/lisp/org-plot.el
index 7958ffd58d..c2da24266a 100644
--- a/lisp/org-plot.el
+++ b/lisp/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)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]