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

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

Re: Function for enabling or disabling emacs bars


From: GNU Hacker
Subject: Re: Function for enabling or disabling emacs bars
Date: Mon, 14 Mar 2022 21:00:37 +0100

angelomolina@tutanota.com writes:
> Mar 14, 2022, 15:02 by project@gnuhacker.org:

>>  (defun emacsbars (&optional num)
>>  "Enables or disables Emacs Bars"
>>  (interactive "p")
>>  (menu-bar-mode num)
>>  (tool-bar-mode num)
>>  (scroll-bar-mode num))

>>  Try with:
>>  M-x emacsbars RET --> show bars
>>  C-u -1 M-x emacsbars RET --> hide bars

> Could I also call it using (emacsbars 1) and (emacsbars -1) ?

Yes it also work

-- 
Emacs Lover.
FSF Member.
Free/Libre Software supporter.
stallmansupport.org - Disinformation succeeds because so many people
care deeply about injustice but do not take the time to check the facts.



reply via email to

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