bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25106: 24.5; easy-menu doc strings


From: Drew Adams
Subject: bug#25106: 24.5; easy-menu doc strings
Date: Sun, 28 Jul 2019 09:40:59 -0700 (PDT)

> > Dunno - that was 3 years ago.  Maybe take a look
> > at the easy-menu doc strings? ;-)
> 
> I skimmed a few, and nothing really jumped stood out.  Closing this bug
> report; if somebody has a specific enhancement request in this area
> they can open a new one.

OK, looking quickly at `easy-mmode.el':


1. Doc string of `easy-mmode-defmap' says it defines
   a constant whose value has the form of the return
   value of `easy-mmode-define-keymap'.  Doc string
   of `easy-mmode-define-keymap' does not specify the
   form of the keymap it returns.  (And keymaps can
   have very different kinds of entries.)

2. (Emacs 24.5, which is where the bug was filed, did
   the same thing for `define-minor-mode': referred
   to the form of what `easy-mmode-define-keymap'
   returns.  That's since been removed.)

Please have the doc string of `easy-mmode-define-keymap'
make clear just what the form of the keymap is that
it returns.  Easy-menu returns a specific kind of
keymap, and that's not clear from the doc.





reply via email to

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