From 888b055d2295effa6be3ac99bc157ede86a19ac2 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 13 Jul 2018 23:07:07 -0400 Subject: [PATCH] Disable the menu bar and scroll bars --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 30f2c53..6c97ed3 100644 --- a/init.el +++ b/init.el @@ -127,6 +127,12 @@ size-indication-mode ; Show buffer size in the mode line )) +;; Disable Modes +(mapc (lambda (mode) (funcall mode 0)) + `( + menu-bar-mode ; Disable the menu bar + )) + ;; Mode Configuration (setq show-paren-delay 0.0 ; (show-paren-mode) - Parenthesis highlighting delay @@ -137,10 +143,11 @@ ;; Graphical/Term Mode Config ;;==================== -;; Style the mode line and turn off the toolbar when in graphical mode. +;; Turn off the toolbar and scroll bar when in graphical mode. (if (display-graphic-p) (progn (tool-bar-mode 0) + (scroll-bar-mode 0) )) ;;====================