>From c0de146a194603a463147a819d96c9f7d0eb61e3 Mon Sep 17 00:00:00 2001 From: Panagiotis Koutsourakis Date: Mon, 16 Jan 2023 11:49:05 +0200 Subject: [PATCH] Remove reference to the kbd function from documentation --- doc/emacs/custom.texi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 91df15a21d7..650a96f14b1 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1887,12 +1887,8 @@ Init Rebinding you can specify them in your initialization file by writing Lisp code. @xref{Init File}, for a description of the initialization file. -@findex kbd - There are several ways to write a key binding using Lisp. The -simplest is to use the @code{kbd} function, which converts a textual -representation of a key sequence---similar to how we have written key -sequences in this manual---into a form that can be passed as an -argument to @code{keymap-global-set}. For example, here's how to bind + The simplest way to write a key binding using Lisp is to use the +@code{keymap-global-set} function. For example, here's how to bind @kbd{C-z} to the @code{shell} command (@pxref{Interactive Shell}): @example -- 2.39.0