rougier / nano-emacs

GNU Emacs / N Λ N O - Emacs made simple
GNU General Public License v3.0
2.52k stars 194 forks source link

fix: toolbar and scroll bars still shown #107

Closed azzamsa closed 2 years ago

azzamsa commented 2 years ago

Using the previous code. I still have toolbar and scroll bars shown. This PR fixes the problem at least for me.

I also need to change the "No menu bar" to the code below. Otherwise, it wont work.


 ;; No menu bar
-(if (display-graphic-p)
-    (menu-bar-mode t) ;; When nil, focus problem on OSX
-  (menu-bar-mode -1))
+(menu-bar-mode -1)
 GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-12-01
c13b49a110 (HEAD -> master, origin/master, origin/HEAD) 2 days ago update_autogen: Remove deprecated -I flag (Stefan Kangas)

OS: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-9-amd64 x86_64
rougier commented 2 years ago

Thansk.