diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-07-04 22:58:35 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-07-04 22:58:35 +0100 |
| commit | 30944ac39d0121278e5e94b242549138c92035f4 (patch) | |
| tree | 509347033706e6e8fb8f4b770dd3c39424b61b09 /emacs/init.el | |
| parent | b61b096f127cb1c6f8f9b17f2f7efe4395ff3bf1 (diff) | |
emacs: Simplify if expression
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index afed84d..909c6ae 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -41,10 +41,9 @@ (add-to-list 'ido-ignore-files "__pycache__") (add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode)) -(if (display-graphic-p) - (progn - (blink-cursor-mode -1) - (scroll-bar-mode -1))) +(when (display-graphic-p) + (blink-cursor-mode -1) + (scroll-bar-mode -1)) (require 'magit) (require 'evil-magit) |
