Browse Source

Add version check for scroll bar mode

main
parent
commit
8c2197e077
  1. 5
      README.org
  2. 5
      modules/core.el

5
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)

5
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)

Loading…
Cancel
Save