all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: feature/context-menu 1493145: Change the order of context-menu-functions and add more context menus.
       [not found] ` <20210721184044.82E1420D0A@vcs0.savannah.gnu.org>
@ 2021-07-21 19:23   ` Stefan Monnier
  2021-07-21 20:36     ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2021-07-21 19:23 UTC (permalink / raw)
  To: emacs-devel; +Cc: Juri Linkov

> -(defcustom context-menu-functions '(context-menu-undo context-menu-region)
> +(defcustom context-menu-functions '(context-menu-undo
> +                                    context-menu-region
> +                                    context-menu-local
> +                                    context-menu-minor)
>    "List of functions that produce the contents of the context menu."

This docstring needs to be expanded to tell what the functions receive
as argument and what they're supposed to return (or do).


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: feature/context-menu 1493145: Change the order of context-menu-functions and add more context menus.
  2021-07-21 19:23   ` feature/context-menu 1493145: Change the order of context-menu-functions and add more context menus Stefan Monnier
@ 2021-07-21 20:36     ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2021-07-21 20:36 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

>> -(defcustom context-menu-functions '(context-menu-undo context-menu-region)
>> +(defcustom context-menu-functions '(context-menu-undo
>> +                                    context-menu-region
>> +                                    context-menu-local
>> +                                    context-menu-minor)
>>    "List of functions that produce the contents of the context menu."
>
> This docstring needs to be expanded to tell what the functions receive
> as argument and what they're supposed to return (or do).

Now the docstring explains its argument and return value.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-21 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20210721184043.31891.13183@vcs0.savannah.gnu.org>
     [not found] ` <20210721184044.82E1420D0A@vcs0.savannah.gnu.org>
2021-07-21 19:23   ` feature/context-menu 1493145: Change the order of context-menu-functions and add more context menus Stefan Monnier
2021-07-21 20:36     ` Juri Linkov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.