emms-help
[Top][All Lists]
Advanced

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

Re: [emms-help] Why are maps declared with defconst?


From: Pierre Neidhardt
Subject: Re: [emms-help] Why are maps declared with defconst?
Date: Fri, 29 Dec 2017 19:53:42 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

Do you mean the following?

     (defvar my-mode-map nil
       DOCSTRING)
     (unless my-mode-map
       (let ((map (make-sparse-keymap)))
         (define-key map "\C-c\C-a" 'my-command)
         ...
         (setq my-mode-map map)))

Attachment: signature.asc
Description: PGP signature


reply via email to

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