aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shoshin-config.el2
-rw-r--r--shoshin-config.org2
2 files changed, 2 insertions, 2 deletions
diff --git a/shoshin-config.el b/shoshin-config.el
index 292eaa2..72d3568 100644
--- a/shoshin-config.el
+++ b/shoshin-config.el
@@ -77,7 +77,7 @@
(setq srht-username "shoshin")
;;; User Interface
-(if (display-graphic-p)
+(when (display-graphic-p)
(scroll-bar-mode nil)
(fringe-mode '(8 . 0)))
diff --git a/shoshin-config.org b/shoshin-config.org
index edd0933..563a3a6 100644
--- a/shoshin-config.org
+++ b/shoshin-config.org
@@ -356,7 +356,7 @@ an API token is stored in my ~.authinfo~ file.
** basic Emacs UI tweaks
#+begin_src emacs-lisp
- (if (display-graphic-p)
+ (when (display-graphic-p)
(scroll-bar-mode nil)
(fringe-mode '(8 . 0)))