fix(cli): wrong-number-of-args error from mapconcat
On Emacs <=28.2, mapconcat's third argument isn't optional.
Amend: 7f175ab6d9
Ref: #8024
This commit is contained in:
parent
8c4d871f7c
commit
79910fba42
1 changed files with 12 additions and 1 deletions
|
@ -114,7 +114,18 @@ OPTIONS:
|
||||||
|
|
||||||
(defun doom-sync--system-hash ()
|
(defun doom-sync--system-hash ()
|
||||||
(secure-hash
|
(secure-hash
|
||||||
'md5 (mapconcat #'identity (list doom-local-dir system-configuration))))
|
'md5 (mapconcat
|
||||||
|
#'identity
|
||||||
|
(list
|
||||||
|
;; Changes to this path could indicate a change to the username and/or
|
||||||
|
;; the location of Straight's build artifacts; both warrant a rebuild
|
||||||
|
;; of your packages.
|
||||||
|
doom-local-dir
|
||||||
|
;; Changes to this indicate the user's system/OS has changed (e.g. if
|
||||||
|
;; the user copied their config to another system, on another OS) or
|
||||||
|
;; Emacs' compiled features have (even if the major version hasn't).
|
||||||
|
system-configuration)
|
||||||
|
"")))
|
||||||
|
|
||||||
(defun doom-sync--abort-warning-h ()
|
(defun doom-sync--abort-warning-h ()
|
||||||
(print! (warn "Script was abruptly aborted, leaving Doom in an incomplete state!"))
|
(print! (warn "Script was abruptly aborted, leaving Doom in an incomplete state!"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue