~bzg/org-contrib

6422b265f1150204f024e33d54f2dcfd8323005c — Mike Fisher 2 months ago 7f32f80
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).
1 files changed, 3 insertions(+), 3 deletions(-)

M lisp/org-checklist.el
M lisp/org-checklist.el => lisp/org-checklist.el +3 -3
@@ 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