From d90964e3d2cb07361ad22a9fbcb0195d191c10b1 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 11:17:09 +0100 Subject: Emacs: use setq-default instead of setq --- emacs.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'emacs.el') diff --git a/emacs.el b/emacs.el index 28154a5..eeceae3 100644 --- a/emacs.el +++ b/emacs.el @@ -11,7 +11,7 @@ ;;; https://www.lucacambiaghi.com/vanilla-emacs/readme.html ;;; =defvar= warnings fix -(setq enable-local-variables :all) +(setq-default enable-local-variables :all) ;;; https://elpa.gnu.org/packages/aggressive-indent.html ;;; Automatic Activation of Aggressive Indent @@ -25,8 +25,8 @@ ;; Highlight the pair of delimiters under the cursor (show-paren-mode 1) -(setq show-paren-delay - 0) +(setq-default show-paren-delay + 0) ;; Add Geiser and its auto-completion (ac-config-default) @@ -81,14 +81,14 @@ ;;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html ;;; Copyright Information -(setq user-full-name - "Marek Paśnikowski") -(setq user-mail-address - "marekpasnikowski@protonmail.com") +(setq-default user-full-name + "Marek Paśnikowski") +(setq-default user-mail-address + "marekpasnikowski@protonmail.com") ;;; Startup Screen Inhibition -(setq inhibit-startup-screen - t) +(setq-default inhibit-startup-screen + t) ;; Enable the column-80 line (global-display-fill-column-indicator-mode 1) -- cgit v1.2.3