diff options
| author | 2025-10-27 08:22:48 +0200 | |
|---|---|---|
| committer | 2025-10-27 08:22:48 +0200 | |
| commit | b34aafdae275321a83bc436b1150af6f1f821de4 (patch) | |
| tree | 4718330415b7134956b48fe9ef533455e4f3df72 | |
| parent | emacs: Update packages (diff) | |
| download | dotfiles-b34aafdae275321a83bc436b1150af6f1f821de4.tar.gz dotfiles-b34aafdae275321a83bc436b1150af6f1f821de4.tar.xz dotfiles-b34aafdae275321a83bc436b1150af6f1f821de4.zip | |
emacs: Get rid of set-fill-width
| -rw-r--r-- | emacs/.config/emacs/arkta/arkta-progmodes.el | 2 | ||||
| -rw-r--r-- | emacs/.config/emacs/init.el | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/emacs/.config/emacs/arkta/arkta-progmodes.el b/emacs/.config/emacs/arkta/arkta-progmodes.el index eddc4aa..33ae15e 100644 --- a/emacs/.config/emacs/arkta/arkta-progmodes.el +++ b/emacs/.config/emacs/arkta/arkta-progmodes.el | |||
| @@ -185,7 +185,7 @@ | |||
| 185 | :mode "\\.[0-9]p?\\'" | 185 | :mode "\\.[0-9]p?\\'" |
| 186 | :init | 186 | :init |
| 187 | (defun arkta/nroff-setup () | 187 | (defun arkta/nroff-setup () |
| 188 | (set-fill-width 80)) | 188 | (setq fill-column 80)) |
| 189 | :hook (nroff-mode . arkta/nroff-setup)) | 189 | :hook (nroff-mode . arkta/nroff-setup)) |
| 190 | 190 | ||
| 191 | (use-package nxml-mode | 191 | (use-package nxml-mode |
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index 66b50f3..fdff907 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -215,13 +215,11 @@ | |||
| 215 | ,@(mapcar (lambda (name) `(setq-default ,name value)) emacs-names)) | 215 | ,@(mapcar (lambda (name) `(setq-default ,name value)) emacs-names)) |
| 216 | ,@(mapcar (lambda (name) `(setq ,name value)) emacs-names))))) | 216 | ,@(mapcar (lambda (name) `(setq ,name value)) emacs-names))))) |
| 217 | 217 | ||
| 218 | (defsetter fill-width fill-column) | ||
| 219 | (defsetter tab-usage indent-tabs-mode) | 218 | (defsetter tab-usage indent-tabs-mode) |
| 220 | (defsetter tab-width c-basic-offset nasm-offset standard-indent tab-width) | 219 | (defsetter tab-width c-basic-offset nasm-offset standard-indent tab-width) |
| 221 | 220 | ||
| 222 | ;; Miscellany | 221 | ;; Miscellany |
| 223 | 222 | ||
| 224 | (set-fill-width 120 t) | ||
| 225 | (set-tab-usage nil t) | 223 | (set-tab-usage nil t) |
| 226 | (set-tab-width 4 t) | 224 | (set-tab-width 4 t) |
| 227 | 225 | ||
| @@ -327,6 +325,9 @@ | |||
| 327 | :commands (elpher) | 325 | :commands (elpher) |
| 328 | :custom (elpher-default-url-type "gemini")) | 326 | :custom (elpher-default-url-type "gemini")) |
| 329 | 327 | ||
| 328 | (use-package emacs | ||
| 329 | :custom (fill-column 120)) | ||
| 330 | |||
| 330 | (use-package envrc | 331 | (use-package envrc |
| 331 | :when nil | 332 | :when nil |
| 332 | :straight t | 333 | :straight t |