]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
get rid of the scroll-bar
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 11 Dec 2017 13:42:05 +0000 (14:42 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Mon, 11 Dec 2017 13:42:39 +0000 (14:42 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 63d28a80023366019517b921e1fac7c988121bae..bb5d080e77245742df7e8b899a94535d8ca89da4 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -2532,7 +2532,10 @@ Use undo-tree.
     )
 
   (if window-system
-      (tool-bar-mode -1)
+      (progn
+       (tool-bar-mode -1)
+       (scroll-bar-mode -1)
+       )
   )
 
   (setq initial-scratch-message "") ;; Uh, I know what Scratch is for
@@ -2683,7 +2686,7 @@ fullscreen mode. disable scroll bar in fullscreen mode.
         (progn (set-frame-parameter nil 'fullscreen 'maximized)
                (display-battery-mode -1)
                (display-time-mode -1)
-               (scroll-bar-mode 1)
+               (scroll-bar-mode -1)
                )
       (progn (set-frame-parameter nil 'fullscreen 'fullboth)
              (display-battery-mode 1)