branch: elpa/org-contrib commit 6422b265f1150204f024e33d54f2dcfd8323005c Author: Mike Fisher <michael_fis...@urmc.rochester.edu> Commit: Bastien Guerry <b...@gnu.org>
fix(org-checklist.el): change org-make-checklist-export (Emacs 28+ cl) In more recent Emacs, cl functions (like "case") must be prefixed with "cl-". Add this and re-order choices (t must be the last choice now). --- lisp/org-checklist.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-checklist.el b/lisp/org-checklist.el index b813c88296..26b78cf825 100644 --- a/lisp/org-checklist.el +++ b/lisp/org-checklist.el @@ -93,10 +93,10 @@ of checkbox items" "-" (format-time-string org-checklist-export-time-format) ".org")) - (print (case (org-entry-get (point) "PRINT_EXPORT" nil) + (print (cl-case (org-entry-get (point) "PRINT_EXPORT" nil) (("" "nil" nil) nil) - (t t) - (nil (y-or-n-p "Print list? ")))) + (nil (y-or-n-p "Print list? ")) + (t t))) exported-lines (title "Checklist export")) (save-restriction