emacs-devel
[Top][All Lists]
Advanced

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

Re: Some developement questions


From: hw
Subject: Re: Some developement questions
Date: Fri, 07 Sep 2018 09:01:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: hw <address@hidden>
>> Date: Wed, 05 Sep 2018 22:36:09 +0200
>> Cc: address@hidden
>> 
>> > Emacs cannot guess for the user when she needs or does not need a menu
>> > bar or a tool bar.  You have to instruct it to, somehow.
>> 
>> Can I do that per mode?
>
> You can enable/disable menu-bar-mode in a mode hook.
>
>> So I could have them automatically enabled when in info mode and
>> automatically disabled when not?  Emacs could automatically remember
>> the last setting for each mode I used, so no additional instructing
>> would be necessary.
>
> Save your mode hooks in your .emacs, and Bob's your uncle.

Thanks, I'll look into that :)



reply via email to

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