fix(spacemacs-buffer): replace y-or-n question by a warning
Closes #15907
This commit is contained in:
parent
5b8a25a6b7
commit
cf021951b7
|
@ -1297,9 +1297,10 @@ LIST-SIZE is specified in `dotspacemacs-startup-lists' for recent entries."
|
||||||
;; to load `org-agenda' to process the list. If org is
|
;; to load `org-agenda' to process the list. If org is
|
||||||
;; already loaded, then we assume that the user has
|
;; already loaded, then we assume that the user has
|
||||||
;; already called org-agenda-files.
|
;; already called org-agenda-files.
|
||||||
(when (and (not (featurep 'org))
|
(when (not (featurep 'org))
|
||||||
(y-or-n-p "`org-agenda-files' is a string and \
|
(warn "`org-agenda-files' is a string and \
|
||||||
not a list. Load `org' and continue?"))
|
not a list. This requires us to load `org' to process the org agenda files in \
|
||||||
|
startup list.")
|
||||||
(require 'org)
|
(require 'org)
|
||||||
(org-agenda-files))))))
|
(org-agenda-files))))))
|
||||||
(mapcar #'expand-file-name files)))
|
(mapcar #'expand-file-name files)))
|
||||||
|
|
Loading…
Reference in New Issue