emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 9be8a2f: * lisp/emacs-lisp/package.el (package-lo


From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 9be8a2f: * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
Date: Thu, 28 Jan 2016 16:58:59 +0000

branch: emacs-25
commit 9be8a2fb41043b4d4734a67f155d6923df10671b
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
---
 lisp/emacs-lisp/package.el |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index fbc8be4..34772a0 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")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]