diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-06-20 08:01:11 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-06-20 08:01:11 +0200 |
| commit | f0fece376e86c200f4763d579b37c84b31c39fb0 (patch) | |
| tree | a9160cd9098979aaad94caf1a1c4f186e37e9a56 | |
| parent | 7227d4924746f0ede14cc4a54b4bf7716ea62477 (diff) | |
Fix Config for `emacs-nw`
`scroll-bar-mode` is not available in `emacs-nw`, so change the
configuration to only remove the mode in case the symbol is bound.
| -rw-r--r-- | config/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 6c4448c..2973e92 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -80,7 +80,8 @@ :init (menu-bar-mode -1) (tool-bar-mode -1) - (scroll-bar-mode -1) + (when (fboundp 'scroll-bar-mode) + (scroll-bar-mode -1)) (which-key-mode +1) (column-number-mode +1) (delete-selection-mode +1) |
