diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-01 10:14:33 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-01 10:14:33 +0200 |
commit | 4a1505904e3606046c201f87deec1171f7d4d406 (patch) | |
tree | 80f2fc4f1798802ca0806064b4f739793e688fbd /lisp/calc | |
parent | 45793b195cf36adfff26d94e65e15429ff9c2235 (diff) | |
download | emacs-4a1505904e3606046c201f87deec1171f7d4d406.tar.gz emacs-4a1505904e3606046c201f87deec1171f7d4d406.tar.bz2 emacs-4a1505904e3606046c201f87deec1171f7d4d406.zip |
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).
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calc.el | 2 |
1 files changed, 2 insertions, 0 deletions
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") |