Emacs: Improve readability and correctness.
This commit is contained in:
parent
980071fc5e
commit
2d798c3fa6
|
@ -30,7 +30,7 @@
|
|||
(package-initialize))
|
||||
|
||||
;; Add path for custom packages.
|
||||
(add-to-list 'load-path "~/.emacs.d/custom-packages/")
|
||||
(add-to-list 'load-path (concat user-emacs-directory "custom-packages/"))
|
||||
|
||||
;; Install use-package if necessary.
|
||||
(unless (package-installed-p 'use-package)
|
||||
|
@ -62,7 +62,8 @@
|
|||
:config
|
||||
(defvar my/keyring-last-access
|
||||
(time-to-seconds
|
||||
(nth 4 (file-attributes (gnu-elpa-keyring-update--keyring))))
|
||||
(file-attribute-access-time
|
||||
(file-attributes gnu-elpa-keyring-update--keyring)))
|
||||
"Last access time for the GNU ELPA keyring.")
|
||||
|
||||
;; Only update keyring if atime (mtime with relatime) is > 1 week ago.
|
||||
|
|
Loading…
Reference in New Issue
Block a user