emacs: use xdg directory for emacs 27.1

master
an 2020-02-05 23:04:38 -05:00
parent 776dc39222
commit 6a0f048292
2 changed files with 19 additions and 16 deletions

View File

@ -1,18 +1,21 @@
;; startup ;; startup
(setq auto-save-default nil (let ((usr-backup (locate-user-emacs-file "backup"))
backup-directory-alist '((".*" . "~/.emacs.d/backup")) (usr-custom (locate-user-emacs-file "custom.el"))
create-lockfiles nil (usr-data (locate-user-emacs-file "data.el")))
custom-file "~/.emacs.d/custom.el" (setq auto-save-default nil
gc-cons-threshold 64000000 backup-directory-alist `((".*" . ,usr-backup))
global-mark-ring-max 1024 create-lockfiles nil
inhibit-compacting-font-caches t custom-file usr-custom
inhibit-startup-screen t gc-cons-threshold 64000000
initial-buffer-choice "~/org/init.org" global-mark-ring-max 1024
initial-scratch-message nil inhibit-compacting-font-caches t
mark-ring-max 1024) inhibit-startup-screen t
initial-buffer-choice "~/org/init.org"
initial-scratch-message nil
mark-ring-max 1024)
(load custom-file) (load custom-file)
(load "~/.emacs.d/data.el") (load usr-data))
(defalias #'yes-or-no-p #'y-or-n-p) (defalias #'yes-or-no-p #'y-or-n-p)

6
links
View File

@ -20,9 +20,9 @@ applications/xprofile ~/.xprofile
build-system/cargo.toml ~/.cargo/config build-system/cargo.toml ~/.cargo/config
build-system/makepkg.conf ~/.config/pacman/makepkg.conf build-system/makepkg.conf ~/.config/pacman/makepkg.conf
computers/(hostname)/vconf ~/.vim/vconf computers/(hostname)/vconf ~/.vim/vconf
emacs/custom.el ~/.emacs.d/custom.el emacs/custom.el ~/.config/emacs/custom.el
emacs/data.el ~/.emacs.d/data.el emacs/data.el ~/.config/emacs/data.el
emacs/init.el ~/.emacs.d/init.el emacs/init.el ~/.config/emacs/init.el
games/alephone/marathon-1.xml ~/.alephone/Marathon Preferences games/alephone/marathon-1.xml ~/.alephone/Marathon Preferences
games/alephone/marathon-2.xml ~/.alephone/Marathon 2 Preferences games/alephone/marathon-2.xml ~/.alephone/Marathon 2 Preferences
games/alephone/marathon-infinity.xml ~/.alephone/Marathon Infinity Preferences games/alephone/marathon-infinity.xml ~/.alephone/Marathon Infinity Preferences