From 94d383f7892d9076f5134a279e65264a1c0e0eeb Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 11:17:11 +0100 Subject: Correct variable initializations --- emacs.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'emacs.el') diff --git a/emacs.el b/emacs.el index d7e9c70..9d564a3 100644 --- a/emacs.el +++ b/emacs.el @@ -1,5 +1,6 @@ ;;; Disable auto-backup -(setq make-backup-files nil) +(setq-default make-backup-files + nil) ;;; Enable MELPA repository (require 'package) @@ -14,13 +15,15 @@ ;;; https://elpa.gnu.org/packages/aggressive-indent.html ;;; Automatic Activation of Aggressive Indent -(global-aggressive-indent-mode 1) +(setq-default global-aggressive-indent-mode + 1) ;;; https://jeko.frama.io/en/emacs.html ;;; Jeko's suggested configuration ;; Highlight the pair of delimiters under the cursor -(show-paren-mode 1) +(setq-default show-paren-mode + 1) (setq-default show-paren-delay 0) @@ -59,5 +62,7 @@ t) ;; Enable the column-80 line -(global-display-fill-column-indicator-mode 1) -(setq-default display-fill-column-indicator-column 79) +(setq-default global-display-fill-column-indicator-mode + 1) +(setq-default display-fill-column-indicator-column + 79) -- cgit v1.2.3