]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/package.el
-
[gnu-emacs] / lisp / emacs-lisp / package.el
index 08f64147d44afebf0b0b28be0208b8f227161ce0..14650ba3ab615f8cba6ed5098e0986a0a86d1de3 100644 (file)
@@ -183,7 +183,13 @@ If VERSION is a string, only that version is ever loaded.
  Any other version, even if newer, is silently ignored.
  Hence, the package is \"held\" at that version.
 If VERSION is nil, the package is not loaded (it is \"disabled\")."
-  :type '(repeat symbol)
+  :type '(repeat (choice (const all)
+                         (list :tag "Specific package"
+                               (symbol :tag "Package name")
+                               (choice :tag "Version"
+                                (const :tag "disable" nil)
+                                (const :tag "most recent" t)
+                                (string :tag "specific version")))))
   :risky t
   :version "24.1")