branch: externals-release/org
commit 4bb071937489ad992285a6cbe8edc818ed08c1d6
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    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 6603b5e017..f10e36937d 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"

Reply via email to