emacs-devel
[Top][All Lists]
Advanced

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

Re: New define-key syntax with custom keymap


From: Manuel Uberti
Subject: Re: New define-key syntax with custom keymap
Date: Tue, 19 Oct 2021 16:27:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 19/10/21 16:22, Lars Ingebrigtsen wrote:
Ah, I see.

I put:

(require 'gnus-sum)
(define-key gnus-summary-mode-map ["C-c C-n"] #'mu-cleanup-buffer)

in my ~/.emacs and started an Emacs and Gnus, and the key was bound in
Gnus summary buffers.

I see, thanks. But I am already using:

(require 'mu-lib)

At the top of my init.el, which requires the file where everything mu-* is defined. That's why I don't understand why it does not work with the new syntax but it does with the old one.

--
Manuel Uberti
www.manueluberti.eu



reply via email to

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