From: Lars Ingebrigtsen Date: Wed, 1 Sep 2021 08:14:33 +0000 (+0200) Subject: Autoload calc-grab-sum-across and calc-grab-sum-down X-Git-Tag: emacs-28.0.90~1241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a1505904e3606046c201f87deec1171f7d4d406;p=emacs.git 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). --- 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")