aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-05-22 20:40:24 -0500
committershoshin <shoshin@cicadas.surf>2022-05-22 20:40:24 -0500
commit042046f13913a8fd7422bce35bc832333976de76 (patch)
treefe696f55e76b42f935c0a17f6b23e871fe6b6e35
parent1866cb9f627eab7e46d2869c974b18d0c94faeda (diff)
Fix: use when instead of if
-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)))