* bug#71166: incorrect documentation
[not found] <m2ed9relt6.fsf.ref@Brads-iMac-26.home>
@ 2024-05-24 7:00 ` Brad Knotwell via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-24 7:45 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Brad Knotwell via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-24 7:00 UTC (permalink / raw)
To: 71166
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
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'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: calcdoc.patch --]
[-- Type: text/patch, Size: 589 bytes --]
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread