From cf021951b73fc0c2b7af1368fa0339f3515e4101 Mon Sep 17 00:00:00 2001 From: Lucius Hu Date: Mon, 6 Feb 2023 17:02:15 -0500 Subject: [PATCH] fix(spacemacs-buffer): replace y-or-n question by a warning Closes #15907 --- core/core-spacemacs-buffer.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/core-spacemacs-buffer.el b/core/core-spacemacs-buffer.el index 67cf5696a..13ac69b79 100644 --- a/core/core-spacemacs-buffer.el +++ b/core/core-spacemacs-buffer.el @@ -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 ;; already loaded, then we assume that the user has ;; already called org-agenda-files. - (when (and (not (featurep 'org)) - (y-or-n-p "`org-agenda-files' is a string and \ -not a list. Load `org' and continue?")) + (when (not (featurep 'org)) + (warn "`org-agenda-files' is a string and \ +not a list. This requires us to load `org' to process the org agenda files in \ +startup list.") (require 'org) (org-agenda-files)))))) (mapcar #'expand-file-name files)))