first emacs config

This commit is contained in:
2026-10-20 13:03:15 +02:00
parent 6f9f99387e
commit 2f13185090
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
# prefer this if stow is available
.PHONY: stow unstow
stow:
stow nvim ghostty
stow nvim ghostty emacs
unstow:
stow -D nvim ghostty
stow -D nvim ghostty emacs
LN := ln -svf
LNDIR := ln -sv
+11
View File
@@ -0,0 +1,11 @@
;; Disable auto-save files (#file#).
(setq auto-save-default nil)
;; Disable backup files (file~).
(setq make-backup-files nil)
;; Disable lockfiles (.#file)
(setq create-lockfiles nil)
;; Display a greeting after startup.
(add-hook 'emacs-startup-hook
(lambda () (message "Hello world")))