From 4bb071937489ad992285a6cbe8edc818ed08c1d6 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 14 Jun 2024 13:48:10 +0200 Subject: [PATCH] org-capture-templates: Remove no-longer-supported variants from :type spec * lisp/org-capture.el (org-capture-templates): Remove "sexp" type from allowed values of capture targets. S-exp support has been removed in f5645675a336d8. --- lisp/org-capture.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 6603b5e01..f10e36937 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -408,8 +408,7 @@ you can escape ambiguous cases with a backward slash, e.g., \\%i." (let ((file-variants '(choice :tag "Filename " (file :tag "Literal") (function :tag "Function") - (variable :tag "Variable") - (sexp :tag "Form")))) + (variable :tag "Variable")))) `(repeat (choice :value ("" "" entry (file "~/org/notes.org") "") (list :tag "Multikey description" @@ -452,12 +451,12 @@ you can escape ambiguous cases with a backward slash, e.g., \\%i." (list :tag "File & function" (const :format "" file+function) ,file-variants - (sexp :tag " Function")) + (function :tag " Function")) (list :tag "Current clocking task" (const :format "" clock)) (list :tag "Function" (const :format "" function) - (sexp :tag " Function"))) + (function :tag " Function"))) (choice :tag "Template " (string) (list :tag "File"