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).
This commit is contained in:
Lars Ingebrigtsen 2021-09-01 10:14:33 +02:00
parent 45793b195c
commit 4a1505904e

View file

@ -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")