Pierre Neidhardt <[email protected]> writes:

> 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)))
>

yup

Personally, I can take it or leave it since it is obviously a kludge to
move the docstring closer to where it makes sense.

So moving to defvar with this or with the old style both sound fine to
me.

-- 
   "Cut your own wood and it will warm you twice"

_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to