diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-06 14:36:43 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-06 14:36:43 -0400 |
commit | 4d2b25a94654861724ce96d03f06291f00f91892 (patch) | |
tree | 28bea61e6693fabdbaf1693eb1421350470a691c /init.el | |
parent | Adjust font size again, for fixed-width fonts (diff) | |
download | mmosmacs-4d2b25a94654861724ce96d03f06291f00f91892.tar.gz mmosmacs-4d2b25a94654861724ce96d03f06291f00f91892.tar.bz2 mmosmacs-4d2b25a94654861724ce96d03f06291f00f91892.zip |
Disable line numbers in `org` buffers
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -224,9 +224,14 @@ | |||
224 | ;; It helps to know where you are | 224 | ;; It helps to know where you are |
225 | ;; --------------------------------- | 225 | ;; --------------------------------- |
226 | 226 | ||
227 | ;; Display line/column numbers | ||
227 | (column-number-mode) | 228 | (column-number-mode) |
228 | (global-display-line-numbers-mode t) | 229 | (global-display-line-numbers-mode t) |
229 | 230 | ||
231 | ;; Disable line numbers in specific modes | ||
232 | (dolist (mode '(org-mode-hook)) | ||
233 | (add-hook mode (lambda () (display-line-numbers-mode 0)))) | ||
234 | |||
230 | 235 | ||
231 | ;; --------------------------------- | 236 | ;; --------------------------------- |
232 | ;; Highlight stuff | 237 | ;; Highlight stuff |