dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit d1000442d0af53d57661df6c61b72443d6370852
parent 9e7d499319bd71e7403a63a49b3b6a01360f9b77
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 23 Feb 2022 16:47:20 +0100

emacs: also tangle config if the file doesn't exist

Diffstat:
Memacs/init.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -54,7 +54,7 @@ (.el (concat user-emacs-directory "config.el")) ; config.el is generated, so won't be in VC (.org-modification-time (file-attribute-modification-time (file-attributes .org))) (.el-modification-time (file-attribute-modification-time (file-attributes .el))) - (config-unchanged-p (time-less-p .org-modification-time .el-modification-time))) + (config-unchanged-p (and (file-exists-p .el) (time-less-p .org-modification-time .el-modification-time)))) (require 'org-macs) (unless config-unchanged-p