diff --git a/README.org b/README.org index 1372e8b..1a00167 100644 --- a/README.org +++ b/README.org @@ -239,7 +239,10 @@ Emacs' default user interface is horrendous, but with less than 10 lines of code #+begin_src emacs-lisp (setq inhibit-startup-message t) (global-prettify-symbols-mode) -(scroll-bar-mode -1) + +(when (< emacs-major-version 27) + (scroll-bar-mode -1)) + (menu-bar-mode -1) (tool-bar-mode -1) (tooltip-mode -1) diff --git a/modules/core.el b/modules/core.el index 2b50e54..9eef6af 100644 --- a/modules/core.el +++ b/modules/core.el @@ -25,7 +25,10 @@ (setq inhibit-startup-message t) (global-prettify-symbols-mode) -(scroll-bar-mode -1) + +(when (< emacs-major-version 27) + (scroll-bar-mode -1)) + (menu-bar-mode -1) (tool-bar-mode -1) (tooltip-mode -1)