summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-04-24 12:49:42 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-04-24 20:19:37 +0200
commitf7e488d20694dea6d2cbb5f74381f7e6f1e4d484 (patch)
treed54fac706c1cdd40d3bfed1f1b76aca8dfc18670 /lisp/calc
parent369761b36db12c65296a39bb874bb181da466009 (diff)
downloademacs-f7e488d20694dea6d2cbb5f74381f7e6f1e4d484.tar.gz
Calc: fix autoload errors (bug#40800)
Reported by Hugo Daschbach. * lisp/calc/calc-ext.el (calc-init-extensions): Remove calc-kbd-report key binding and autoload; it was removed in 2005. calc-keypad-x-{left,right,middle}-click were renamed to calc-keypad-{left,right,middle}-click in 2001; fix the autoloads. calc-twos-complement-mode is a variable, not a function; remove the autoload. * lisp/calc/calc-prog.el: Remove commented-out calc-kbd-report.
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-ext.el9
-rw-r--r--lisp/calc/calc-prog.el5
2 files changed, 4 insertions, 10 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index bc70ec283fa..5c11554d5d7 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -674,7 +674,6 @@
(define-key calc-mode-map "Z/" 'calc-kbd-break)
(define-key calc-mode-map "Z`" 'calc-kbd-push)
(define-key calc-mode-map "Z'" 'calc-kbd-pop)
- (define-key calc-mode-map "Z=" 'calc-kbd-report)
(define-key calc-mode-map "Z#" 'calc-kbd-query)
(calc-init-prefixes)
@@ -845,8 +844,8 @@ math-bernoulli-number math-gammap1-raw)
("calc-incom" calc-digit-dots)
("calc-keypd" calc-do-keypad
-calc-keypad-x-left-click calc-keypad-x-middle-click
-calc-keypad-x-right-click)
+calc-keypad-left-click calc-keypad-middle-click
+calc-keypad-right-click)
("calc-lang" calc-set-language
math-read-big-balance math-read-big-rec)
@@ -1003,7 +1002,7 @@ calc-find-root calc-poly-interp)
calc-floor calc-idiv calc-increment calc-mant-part calc-max calc-min
calc-round calc-scale-float calc-sign calc-trunc calc-xpon-part)
- ("calc-bin" calc-and calc-binary-radix calc-clip calc-twos-complement-mode
+ ("calc-bin" calc-and calc-binary-radix calc-clip
calc-decimal-radix calc-diff calc-hex-radix calc-leading-zeros
calc-lshift-arith calc-lshift-binary calc-not calc-octal-radix calc-or calc-radix
calc-rotate-binary calc-rshift-arith calc-rshift-binary calc-word-size
@@ -1116,7 +1115,7 @@ calc-equal-to calc-get-user-defn calc-greater-equal calc-greater-than
calc-in-set calc-kbd-break calc-kbd-else calc-kbd-else-if
calc-kbd-end-for calc-kbd-end-if calc-kbd-end-loop calc-kbd-end-repeat
calc-kbd-for calc-kbd-if calc-kbd-loop calc-kbd-pop calc-kbd-push
-calc-kbd-query calc-kbd-repeat calc-kbd-report calc-less-equal
+calc-kbd-query calc-kbd-repeat calc-less-equal
calc-less-than calc-logical-and calc-logical-if calc-logical-not
calc-logical-or calc-not-equal-to calc-pass-errors calc-remove-equal
calc-timing calc-user-define calc-user-define-composition
diff --git a/lisp/calc/calc-prog.el b/lisp/calc/calc-prog.el
index e88aa92364c..6db5de4c96c 100644
--- a/lisp/calc/calc-prog.el
+++ b/lisp/calc/calc-prog.el
@@ -1452,11 +1452,6 @@ Redefine the corresponding command."
(error "%s" "Unbalanced Z' in keyboard macro")))
-;; (defun calc-kbd-report (msg)
-;; (interactive "sMessage: ")
-;; (calc-wrapper
-;; (math-working msg (calc-top-n 1))))
-
(defun calc-kbd-query ()
(interactive)
(let ((defining-kbd-macro nil)