From 80f1635d964a30c17b72dee28d75b97767905e8c Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 7 May 2024 12:31:25 +1200 Subject: [PATCH] emacs: set more variables --- .emacs.d/init.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4063d8d..3997689 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -38,6 +38,12 @@ One will be created if none exist." (find-file user-init-file)) (global-set-key (kbd "C-c e i") 'edit-init-file) +;; variables +(setq compilation-scroll-output t ; M-x compile + dictionary-server "dict.org" ; M-x dictionary-search + fill-column 72 ; M-x auto-fill-mode + wdired-allow-to-change-permissions t) ; M-x dired C-x C-q + ;; some packages (package-install 'nerd-icons) (package-install 'pdf-tools) @@ -83,16 +89,11 @@ One will be created if none exist." (add-hook 'lisp-mode-hook 'lisp-hook) (add-hook 'lisp-data-mode-hook 'lisp-hook) -(setq fill-column 74) (add-hook 'mail-mode-hook 'auto-fill-mode) (add-hook 'markdown-mode-hook 'auto-fill-mode) (add-hook 'nroff-mode-hook 'auto-fill-mode) (add-hook 'nroff-mode-hook 'variable-pitch-mode) -;; other variables -(setq compilation-scroll-output t - wdired-allow-to-change-permissions t) - ;; file extensions (add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode)) (add-to-list 'auto-mode-alist '("\\.eml\\'" . mail-mode))