commit 71445c930751f542bf3e520c00ed082de08b0a9c
parent fc1b397a2e7d8a248752e7c84f6beb6cb304f8c2
Author: Ethan Long <Ethan.Long@anu.edu.au>
Date: Sun, 21 May 2023 13:21:13 +1000
Fixed the menu-bar-mode stuff on linux
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/init.el b/init.el
@@ -20,9 +20,10 @@
;; Get rid of default crud
(setq inhibit-startup-screen t)
(if (not (eq system-type 'darwin))
- (setq menu-bar-mode 0
- tool-bar-mode 0
- scroll-bar-mode 0))
+ (progn
+ (menu-bar-mode 0)
+ (tool-bar-mode 0)
+ (scroll-bar-mode 0)))
;; Modeline line and col number
(line-number-mode 1)
(column-number-mode 1)