unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
       [not found] ` <jwvhbgcpetd.fsf-monnier+emacs@gnu.org>
@ 2010-10-24  1:59   ` Glenn Morris
  2010-10-29  3:29     ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2010-10-24  1:59 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier wrote:

>>   * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
>
> Couldn't we drop one of the two docstrings instead?

One is created automatically by the define-minor-mode macro.
This affects a few other things, eg auto-composition-mode,
tool-bar-mode, transient-mark-mode, abbrev-mode.



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

* Re: /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
  2010-10-24  1:59   ` /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp Glenn Morris
@ 2010-10-29  3:29     ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-10-29  3:29 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Glenn Morris wrote:

>>>   * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
>>
>> Couldn't we drop one of the two docstrings instead?
>
> One is created automatically by the define-minor-mode macro.
> This affects a few other things, eg auto-composition-mode,
> tool-bar-mode, transient-mark-mode, abbrev-mode.

I discovered that by adding an explicit :variable to the
define-minor-mode call, it won't define variables a second time.



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

end of thread, other threads:[~2010-10-29  3:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1P9mP4-0006Cv-8n@internal.in.savannah.gnu.org>
     [not found] ` <jwvhbgcpetd.fsf-monnier+emacs@gnu.org>
2010-10-24  1:59   ` /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp Glenn Morris
2010-10-29  3:29     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).