Subject: incorrect documentation

From: Brad Knotwell <[email-masked]>
Date: Fri, 24 May 2024 00:00:37 -0700

Tags: patch

Documentation contains incorrect example code.

In GNU Emacs 29.1 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47
 Version 10.11.6 (Build 15G22010)) of 2023-08-16 built on
 builder10-11.lan
Windowing system distributor 'Apple', version 10.3.1561
System Description:  Mac OS X 10.13.6

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
 -DDARWIN_UNLIMITED_SELECT'
 CFLAGS=-DNSTextAlignmentRight=NSRightTextAlignment --with-x-toolkit=no'

diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index f7b7e277b58..bcedee8a946 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -32501,9 +32501,9 @@ decreases the precision.
 (put 'calc-define 'inc-prec '(progn
 
 (define-key calc-mode-map (format "Y%sI" inc-prec-base-key)
-            'increase-precision)
+            'calc-increase-precision)
 (define-key calc-mode-map (format "Y%sD" inc-prec-base-key)
-            'decrease-precision)
+            'calc-decrease-precision)
 
 (setq calc-Y-help-msgs
       (cons (format "%s + Inc-prec, Dec-prec" inc-prec-base-key)