Disable line numbers in scratch buffer by default
This commit is contained in:
parent
6289ebaa7a
commit
22f4322c8c
4
init.el
4
init.el
@ -169,8 +169,10 @@
|
|||||||
))
|
))
|
||||||
|
|
||||||
;; Hooked Modes
|
;; Hooked Modes
|
||||||
|
(add-hook 'prog-mode-hook (lambda ()
|
||||||
|
(unless (derived-mode-p 'lisp-interaction-mode)
|
||||||
|
(display-line-numbers-mode)))) ; Display line numbers
|
||||||
(add-hook 'prog-mode-hook 'electric-pair-local-mode) ; Automatic delimiter pairing
|
(add-hook 'prog-mode-hook 'electric-pair-local-mode) ; Automatic delimiter pairing
|
||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode) ; Display line numbers
|
|
||||||
|
|
||||||
;; Mode Configuration
|
;; Mode Configuration
|
||||||
(setq
|
(setq
|
||||||
|
Loading…
Reference in New Issue
Block a user