Fix error with some versions of emacs-nox.
Only disable scroll-bar-mode on emacs gui.
This commit is contained in:
parent
4274a147f4
commit
5ecf229620
@ -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
|
||||||
(scroll-bar-mode -1) ; Quitar scrollbar.
|
(when (display-graphic-p)
|
||||||
|
(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.
|
||||||
|
Loading…
Reference in New Issue
Block a user