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

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

Re: define-key upon common-lisp-mode and inferior-lisp-mode


From: wilnerthomas
Subject: Re: define-key upon common-lisp-mode and inferior-lisp-mode
Date: Tue, 30 Aug 2022 20:21:20 +0200 (CEST)

Aug 30, 2022, 15:25 by tomas@tuxteam.de:

> On Tue, Aug 30, 2022 at 02:15:51PM +0000, uzibalqa wrote:
>
>> ------- Original Message -------
>> On Tuesday, August 30th, 2022 at 1:49 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>>
>> > > Date: Tue, 30 Aug 2022 13:22:48 +0000
>> > > From: uzibalqa uzibalqa@proton.me
>> > > 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?
>>
>
> What does the error message say, again?
>
> Cheers
> -- 
> t
>
>
"Lisp error: (void-function local-define-key)" for "Emacs 27.2".
That function does not exist.  Neither does "common-lisp-mode-map", although
the mode "common-lisp-mode" is available for use.

And I am not able to use its parent, lisp-data-mode, lisp-data-mode-map, or 
similar.




reply via email to

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