all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brad Knotwell via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 71166@debbugs.gnu.org
Subject: bug#71166: incorrect documentation
Date: Fri, 24 May 2024 00:00:37 -0700	[thread overview]
Message-ID: <m2ed9relt6.fsf@Brads-iMac-26.home> (raw)
In-Reply-To: m2ed9relt6.fsf.ref@Brads-iMac-26.home

[-- 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)

       reply	other threads:[~2024-05-24  7:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2024-05-24  7:45   ` bug#71166: incorrect documentation Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ed9relt6.fsf@Brads-iMac-26.home \
    --to=bug-gnu-emacs@gnu.org \
    --cc=71166@debbugs.gnu.org \
    --cc=bknotwell@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.