emacs-devel
[Top][All Lists]
Advanced

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

Re: /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-ba


From: Glenn Morris
Subject: Re: /srv/bzr/emacs/trunk r102063: * src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
Date: Thu, 28 Oct 2010 23:29:52 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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.



reply via email to

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