Fix error with some versions of emacs-nox.

Only disable scroll-bar-mode on emacs gui.
This commit is contained in:
KJ 2024-04-21 23:57:41 -04:00
parent 4274a147f4
commit 5ecf229620

View File

@ -81,7 +81,9 @@
(setq default-process-coding-system '(utf-8-unix . utf-8-unix)) (setq default-process-coding-system '(utf-8-unix . utf-8-unix))
;; Emacs customizations ;; Emacs customizations
(when (display-graphic-p)
(scroll-bar-mode -1) ; Quitar scrollbar. (scroll-bar-mode -1) ; Quitar scrollbar.
)
(tooltip-mode -1) ; Disable tooltips. (tooltip-mode -1) ; Disable tooltips.
(global-display-line-numbers-mode) ; Mostar número de línea. (global-display-line-numbers-mode) ; Mostar número de línea.
(show-paren-mode 1) ; Habilitar resaltado de brackets. (show-paren-mode 1) ; Habilitar resaltado de brackets.