diff options
| author | Glenn Morris | 2016-01-28 08:58:43 -0800 |
|---|---|---|
| committer | Glenn Morris | 2016-01-28 08:58:43 -0800 |
| commit | 9be8a2fb41043b4d4734a67f155d6923df10671b (patch) | |
| tree | 65246a0b8378f9339bbea769897c65a092fcb4a3 | |
| parent | deae005667516b7e1296527f7e34c54604a81882 (diff) | |
| download | emacs-9be8a2fb41043b4d4734a67f155d6923df10671b.tar.gz emacs-9be8a2fb41043b4d4734a67f155d6923df10671b.zip | |
* lisp/emacs-lisp/package.el (package-load-list): Improve :type.
| -rw-r--r-- | 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 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. | |||
| 182 | Any other version, even if newer, is silently ignored. | 182 | Any other version, even if newer, is silently ignored. |
| 183 | Hence, the package is \"held\" at that version. | 183 | Hence, the package is \"held\" at that version. |
| 184 | If VERSION is nil, the package is not loaded (it is \"disabled\")." | 184 | If VERSION is nil, the package is not loaded (it is \"disabled\")." |
| 185 | :type '(repeat symbol) | 185 | :type '(repeat (choice (const all) |
| 186 | (list :tag "Specific package" | ||
| 187 | (symbol :tag "Package name") | ||
| 188 | (choice :tag "Version" | ||
| 189 | (const :tag "disable" nil) | ||
| 190 | (const :tag "most recent" t) | ||
| 191 | (string :tag "specific version"))))) | ||
| 186 | :risky t | 192 | :risky t |
| 187 | :version "24.1") | 193 | :version "24.1") |
| 188 | 194 | ||