From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: define-key upon common-lisp-mode and inferior-lisp-mode Date: Tue, 30 Aug 2022 19:24:18 +0300 Message-ID: <83wnapu2bx.fsf@gnu.org> References: <83o7w2ufa6.fsf@gnu.org> <7W8YIKpAyrHUHX3SntrisHnwBBj7wgmuFM_7SxKRuyyo1SeYNsqCgL4QAqmVoJ2n0YivGF1mUvpcaZi6mCDhD_6-O7Yzwj1WSBgriV2FQHI=@proton.me> <835yi9vqro.fsf@gnu.org> <831qsxvo20.fsf@gnu.org> <4Ay4NyY90a27uk-ntZfTWEDj1acAwD_FoEIesw88aCV705DTqT2G0T3fXkUbO5YDAkFdvwlQHft0Xa0Jjn3UfOPwVfm01OoyEoBDzioT_pc=@proton.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16864"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 30 19:06:28 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT4h1-0004EI-SC for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 19:06:27 +0200 Original-Received: from localhost ([::1]:58904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oT4h0-0007zp-In for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Aug 2022 13:06:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT41r-0007Xl-JB for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:23:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT41r-00032N-6p for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=y78vDTCYy+btCWkvE1b7RQzQQC8zFr4Ht1vFgN03AQQ=; b=JvNUyncaWwmd cNXZlvXrhmxR2/xxOqXCpoG4pwrpuD9Bd2ao/Spi6uE6IZ5MdM2PgCZr2lJ1+azvZ7O16DC5YVmvr tMsXaEuattijiGR5oC5DCcIzQH0wbbPcCq2ZnX6s4jfqi9rHLHm6zePZ7g3u8IzTgGgmKIZX+oITO Y1adSgpPQWfegAY47aRlp+U/PhlVYel5Py4Fi0/36IhbBbIXweGoVw76xdv+ZE7UouW4gmfl2zrN1 R1Zu36LSVYG2A2jT4dT0O5cqNY+GnDxx4Hgjd3ehPJLZoB8qdHBQOkAn9v5gSw7MO6sojSYA2DWjk ZZJJ2YxkYIFc+MdUWFwCAw==; Original-Received: from [87.69.77.57] (port=4498 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oT41q-0000ab-LL for help-gnu-emacs@gnu.org; Tue, 30 Aug 2022 12:23:54 -0400 In-Reply-To: <4Ay4NyY90a27uk-ntZfTWEDj1acAwD_FoEIesw88aCV705DTqT2G0T3fXkUbO5YDAkFdvwlQHft0Xa0Jjn3UfOPwVfm01OoyEoBDzioT_pc=@proton.me> (message from uzibalqa on Tue, 30 Aug 2022 14:15:51 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139170 Archived-At: > Date: Tue, 30 Aug 2022 14:15:51 +0000 > From: uzibalqa > Cc: help-gnu-emacs@gnu.org > > > > Have got "Lisp error: (void-function local-define-key)" for "Emacs 27.2". > > > > > > Use local-set-key instead. > > > > > On the other modes I have been using > > > > > > (define-key emacs-lisp-mode-map (kbd "H-e") #'eval-last-sexp) > > > > > > The last seems more standard for many modes. > > > > > > I can only show you the better solutions, I cannot force you use them. > > What can be the origin of the Lisp Error? That function doesn't exist. I missed the fact that you used a wrong name in the original question, sorry.