From 4a1505904e3606046c201f87deec1171f7d4d406 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 1 Sep 2021 10:14:33 +0200 Subject: [PATCH] Autoload calc-grab-sum-across and calc-grab-sum-down * lisp/calc/calc.el (calc-grab-sum-down): (calc-grab-sum-across): Autoload, since they can be used from outside Calc (bug#50311). --- lisp/calc/calc.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index a10b3178302..27a6cff627c 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -3397,12 +3397,14 @@ and all digits are kept, regardless of Calc's current precision." (require 'calc-ext) (calc-do-grab-rectangle top bot arg)) +;;;###autoload (defun calc-grab-sum-down (top bot arg) "Parse a rectangle as a matrix of numbers and sum its columns." (interactive "r\nP") (require 'calc-ext) (calc-do-grab-rectangle top bot arg 'calcFunc-reduced)) +;;;###autoload (defun calc-grab-sum-across (top bot arg) "Parse a rectangle as a matrix of numbers and sum its rows." (interactive "r\nP") -- 2.39.2