Re: [PATCH] emacs: remap send-message and send-message-and-exit

Subject: Re: [PATCH] emacs: remap send-message and send-message-and-exit

Date: Fri, 04 Jun 2021 16:50:38 +0000

To: Tomi Ollila

Cc: notmuch@notmuchmail.org

From: edef


> >  (defvar notmuch-message-mode-map
> >    (let ((map (make-sparse-keymap)))
> > -    (define-key map (kbd "C-c C-c") #'notmuch-mua-send-and-exit)
> > -    (define-key map (kbd "C-c C-s") #'notmuch-mua-send)
> > +    (define-key map [remap message-send-and-exit] 'notmuch-mua-send-and-exit)
> > +    (define-key map [remap message-send] 'notmuch-mua-send)
> 
> where did the # characters disappear here ?
> 
> afaic #' is the recommended way here...
I'm not sure where to find that recommendation — the Emacs manual and
information I've found in the wild don't use it for define-key.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: