summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-11-22 08:42:19 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-11-22 08:42:19 +0100
commit49bdc2aaec8ae3116ca7fce73abc07b4440bb426 (patch)
tree3e8574e8954296a665778af888d3dcea51ec12c6 /emacs.el
parentf74ee7822e5f6ed983615d908a6dfbbb4b669012 (diff)
Correct variable initializations
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el15
1 files changed, 10 insertions, 5 deletions
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)