GNU bug report logs - #67474
29.1; Buggy example in manual

Previous Next

Package: emacs;

Reported by: silarakta <silarakta <at> protonmail.com>

Date: Mon, 27 Nov 2023 03:53:01 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 67474-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: silarakta <silarakta <at> protonmail.com>
Cc: 67474-done <at> debbugs.gnu.org
Subject: Re: bug#67474: 29.1; Buggy example in manual
Date: Mon, 27 Nov 2023 15:04:21 +0200
> Date: Mon, 27 Nov 2023 00:01:07 +0000
> From:  silarakta via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> In Customization > Key Bindings > Init Rebinding ("50.3.6 Rebinding Keys in Your Init File"), the last example reads:
> 
>      (add-hook 'texinfo-mode-hook
>                (lambda ()
>                  (keymap-set texinfo-mode-map "C-c p"
>                              'backward-paragraph)
>                  (keymap-set texinfo-mode-map "C-c n"
>                              'forward-paragraph)))
>                  (keymap-set texinfo-mode-map "C-c C-x x" nil)
> 
> Parentheses in the second-to-last line are misplaced.
> Corrected example:
> 
>      (add-hook 'texinfo-mode-hook
>                (lambda ()
>                  (keymap-set texinfo-mode-map "C-c p"
>                              'backward-paragraph)
>                  (keymap-set texinfo-mode-map "C-c n"
>                              'forward-paragraph)
>                  (keymap-set texinfo-mode-map "C-c C-x x" nil)))
> 

Thanks, fixed on the emacs-29 branch, and closing the bug.




This bug report was last modified 1 year and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.