diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-21 00:22:31 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-21 00:22:31 -0400 |
commit | 783b0ae5ada28cf8bec195e3248a9558a1c64076 (patch) | |
tree | 041153dbd3e1ba42ade3527aac55df427b807b5a /init.el | |
parent | Use `log.org` instead of `archive.org` for logged tasks/activity (diff) | |
download | mmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.tar.gz mmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.tar.bz2 mmosmacs-783b0ae5ada28cf8bec195e3248a9558a1c64076.zip |
Fix usage of `display-line-numbers-mode`
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -448,15 +448,15 @@ | |||
448 | 448 | ||
449 | ;; Display line/column numbers | 449 | ;; Display line/column numbers |
450 | (column-number-mode) | 450 | (column-number-mode) |
451 | (global-display-line-numbers-mode t) | 451 | (add-hook 'prog-mode-hook 'display-line-numbers-mode) |
452 | 452 | ||
453 | ;; Disable line numbers in specific modes | 453 | ;; Disable line numbers in specific modes |
454 | (dolist (mode '(org-mode-hook | 454 | ;; (dolist (mode '(org-mode-hook |
455 | org-agenda-mode-hook | 455 | ;; org-agenda-mode-hook |
456 | helpful-mode-hook | 456 | ;; helpful-mode-hook |
457 | term-mode-hook | 457 | ;; term-mode-hook |
458 | vterm-mode-hook)) | 458 | ;; vterm-mode-hook)) |
459 | (add-hook mode (lambda () (display-line-numbers-mode 0)))) | 459 | ;; (add-hook mode (lambda () (display-line-numbers-mode 0)))) |
460 | 460 | ||
461 | ;; Customize appearance of line-numbers | 461 | ;; Customize appearance of line-numbers |
462 | (set-face-attribute 'line-number nil | 462 | (set-face-attribute 'line-number nil |