From 9be8a2fb41043b4d4734a67f155d6923df10671b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 28 Jan 2016 08:58:43 -0800 Subject: [PATCH] * lisp/emacs-lisp/package.el (package-load-list): Improve :type. --- lisp/emacs-lisp/package.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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") -- 2.39.5