From 042046f13913a8fd7422bce35bc832333976de76 Mon Sep 17 00:00:00 2001 From: shoshin Date: Sun, 22 May 2022 20:40:24 -0500 Subject: Fix: use when instead of if --- shoshin-config.el | 2 +- shoshin-config.org | 2 +- 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))) -- cgit v1.2.3