bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67474: 29.1; Buggy example in manual


From: Eli Zaretskii
Subject: 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@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]