From: Glenn Morris Date: Thu, 28 Jan 2016 16:58:43 +0000 (-0800) Subject: * lisp/emacs-lisp/package.el (package-load-list): Improve :type. X-Git-Tag: emacs-25.0.90~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9be8a2fb41043b4d4734a67f155d6923df10671b;p=emacs.git * lisp/emacs-lisp/package.el (package-load-list): Improve :type. --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index fbc8be482a2..34772a0aa90 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -182,7 +182,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")