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
f5645675a3.
This commit is contained in:
Ihor Radchenko 2024-06-14 13:48:10 +02:00
parent 13fdbf73ff
commit 4bb0719374
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 4 deletions

View File

@ -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"