Set some options in init.el using setopt

This is to try out `setopt`, further adaptions to come.
This commit is contained in:
Daniel Borchmann 2025-04-07 18:59:35 +02:00
parent 6f07502638
commit f1a5462622
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

10
init.el
View File

@ -54,17 +54,17 @@
(require 'use-package)
(require 'bind-key)
(setq use-package-always-defer t
(setopt use-package-always-defer t
use-package-verbose t
use-package-minimum-reported-time 0.01)
(when init-file-debug
(setq use-package-expand-minimally nil
(setopt use-package-expand-minimally nil
use-package-compute-statistics t
debug-on-error t))
(use-package package
:init (setq package-archives
:init (setopt package-archives
'(("melpa" . "https://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
@ -109,10 +109,10 @@
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq buffer-file-coding-system 'utf-8)
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
(setopt x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
;; Startup configuration
(setq inhibit-startup-message t
(setopt inhibit-startup-message t
inhibit-default-init t
initial-scratch-message nil
initial-major-mode 'fundamental-mode