summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:09 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:09 +0100
commitd90964e3d2cb07361ad22a9fbcb0195d191c10b1 (patch)
tree178966b9c846cab1d1f454e25e5a345b66557959 /emacs.el
parentc3ef1325630c4de1067bfc0fdbff3a36d8bd1d95 (diff)
Emacs: use setq-default instead of setq
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el18
1 files changed, 9 insertions, 9 deletions
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)