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