[Top][All Lists]

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

Re: New define-key syntax with custom keymap

From: Lars Ingebrigtsen
Subject: Re: New define-key syntax with custom keymap
Date: Tue, 19 Oct 2021 16:14:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Manuel Uberti <manuel.uberti@inventati.org> writes:

> Because if I evaluate:
> (define-key mu-keys-mode-map ["C-c C-n"] #'mu-cleanup-buffer)
> it works for me as well. But upon restart C-c C-n is not bound to anything.

I'm not sure I understand what you mean.  `define-key' only works in the
current session -- what it does isn't saved anywhere (no matter what
syntax you use for the key binding).

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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