Subject: Re: bug#39802: (info "(emacs) Init Rebinding") needs to say it is impossible to unbind local keys

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Thu, 27 Feb 2020 07:22:10 +0800

OK!
Please add this patch (i.e., fix the source file) to
(info "(emacs) Init Rebinding")

    For example, Texinfo mode runs the hook ‘texinfo-mode-hook’.  Here’s
-how you can use the hook to add local bindings for ‘C-c n’ and ‘C-c p’
-in Texinfo mode:
+how you can use the hook to add local bindings for ‘C-c n’ and ‘C-c p’,
+and remove one for C-c C-c x, in Texinfo mode:
 
      (add-hook 'texinfo-mode-hook
                (lambda ()
                  (define-key texinfo-mode-map "\C-cp"
                              'backward-paragraph)
                  (define-key texinfo-mode-map "\C-cn"
-                             'forward-paragraph)))
-
+                             'forward-paragraph)
+                 (define-key texinfo-mode-map "\C-c\C-cx"
+                             nil)))