Server IP : 111.118.215.189 / Your IP : 3.147.48.161 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emacs-lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:04 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emacs-lisp/package.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316\317\306\303\310\311& \210\312\320\321\322\316\323\324\314\306\303\310\311&\210\312\325\326\327\316\330\324\314\306\303\310\311&\207" [require tabulated-list custom-declare-group package nil "Manager for Emacs Lisp packages." :group applications :version "24.1" custom-declare-variable package-enable-at-startup t "Whether to activate installed packages when Emacs starts.\nIf non-nil, packages are activated after reading the init file\nand before `after-init-hook'. Activation is not done if\n`user-init-file' is nil (e.g. Emacs was started with \"-q\").\n\nEven if the value is nil, you can type \\[package-initialize] to\nactivate the package system at any time." :type boolean package-load-list '(all) "List of packages for `package-initialize' to load.\nEach element in this list should be a list (NAME VERSION), or the\nsymbol `all'. The symbol `all' says to load the latest installed\nversions of all packages not specified by other elements.\n\nFor an element (NAME VERSION), NAME is a package name (a symbol).\nVERSION should be t, a string, or nil.\nIf VERSION is t, all versions are loaded, though obsolete ones\n will be put in `package-obsolete-alist' and not activated.\nIf VERSION is a string, only that version is ever loaded.\n Any other version, even if newer, is silently ignored.\n Hence, the package is \"held\" at that version.\nIf VERSION is nil, the package is not loaded (it is \"disabled\")." (repeat symbol) :risky package-archives '(("gnu" . "http://elpa.gnu.org/packages/")) "An alist of archives from which to fetch.\nThe default value points to the GNU Emacs package repository.\n\nEach element has the form (ID . LOCATION).\n ID is an archive name, as a string.\n LOCATION specifies the base location for the archive.\n If it starts with \"http:\", it is treated as a HTTP URL;\n otherwise it should be an absolute directory name.\n (Other types of URL are currently not supported.)\n\nOnly add locations that you trust, since fetching and installing\na package can run arbitrary code." (alist :key-type (string :tag "Archive name") :value-type (string :tag "URL or directory name"))] 12) #@133 Version number of the package archive understood by this file. Lower version numbers than this will probably be understood as well. (defconst package-archive-version 1 (#$ . 2774)) #@24 Version of package.el. (defconst package-el-version "1.0" (#$ . 2961)) #@344 Cache of the contents of the Emacs Lisp Package Archive. This is an alist mapping package names (symbols) to package descriptor vectors. These are like the vectors for `package-alist' but have extra entries: one which is 'tar for tar packages and 'single for single-file packages, and one which is the name of the archive from which it came. (defvar package-archive-contents nil (#$ . 3039)) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\303\313\314\315\316&\210\304\317\320\321\310\322\312\303\313\314\315\316&\207" [put package-archive-contents risky-local-variable t custom-declare-variable package-user-dir (locate-user-emacs-file "elpa") "Directory containing the user's Emacs Lisp packages.\nThe directory name should be absolute.\nApart from this directory, Emacs also looks for system-wide\npackages in `package-directory-list'." :type directory :risky :group package :version "24.1" package-directory-list (let (result) (dolist (f load-path) (and (stringp f) (equal (file-name-nondirectory f) "site-lisp") (push (expand-file-name "elpa" f) result))) (nreverse result)) "List of additional directories containing Emacs Lisp packages.\nEach directory name should be absolute.\n\nThese directories contain packages intended for system-wide; in\ncontrast, `package-user-dir' contains packages for personal use." (repeat directory)] 12) #@605 Alist of built-in packages. The actual value is initialized by loading the library `finder-inf'; this is not done until it is needed, e.g. by the function `package-built-in-p'. Each element has the form (PKG . DESC), where PKG is a package name (a symbol) and DESC is a vector that describes the package. The vector DESC has the form [VERSION-LIST REQS DOCSTRING]. VERSION-LIST is a version list. REQS is a list of packages required by the package, each requirement having the form (NAME VL), where NAME is a string and VL is a version list. DOCSTRING is a brief description of the package. (defvar package--builtins nil (#$ . 4406)) (put 'package--builtins 'risky-local-variable t) #@660 Alist of all packages available for activation. Each element has the form (PKG . DESC), where PKG is a package name (a symbol) and DESC is a vector that describes the package. The vector DESC has the form [VERSION-LIST REQS DOCSTRING]. VERSION-LIST is a version list. REQS is a list of packages required by the package, each requirement having the form (NAME VL) where NAME is a string and VL is a version list. DOCSTRING is a brief description of the package. This variable is set automatically by `package-load-descriptor', called via `package-initialize'. To change which packages are loaded and/or activated, customize `package-load-list'. (defvar package-alist nil (#$ . 5109)) (put 'package-alist 'risky-local-variable t) #@52 List of the names of currently activated packages. (defvar package-activated-list nil (#$ . 5858)) (put 'package-activated-list 'risky-local-variable t) #@138 Representation of obsolete packages. Like `package-alist', but maps package name to a second alist. The inner alist is keyed by version. (defvar package-obsolete-alist nil (#$ . 6018)) (put 'package-obsolete-alist 'risky-local-variable t) #@228 Return the version string corresponding to the list VLIST. This is, approximately, the inverse of `version-to-list'. (Actually, it returns only one of the possible inverses, since `version-to-list' is a many-to-one operation.) (defalias 'package-version-join #[(vlist) "\204 \304\207\305\306@!DA\307\211\203{ @\211\310Y\203, \306\n! B\305 B\202t \n\311W\203: \312\313\"\210\202t @\305\232\203I \210 A\202V \314\315 @\"\204V \312\313\"\210\n\316U\203` \317\202q \n\320U\203j \321\202q \n\311U\205q \322 BA\211\204 * @\305\232\203\210 \210 A\323\324 \237\")\207" [vlist str-list num --dolist-tail-- "" "." int-to-string nil 0 -3 error "Invalid version list `%s'" string-match "[0-9]+" -1 "pre" -2 "beta" "alpha" apply concat] 4 (#$ . 6264)]) #@108 Strip the version from a combined package name and version. E.g., if given "quux-23.0", will return "quux" (defalias 'package-strip-version #[(dirname) "\302\303\304Q \"\205 \305\306 \"\207" [package-subdirectory-regexp dirname string-match "\\`" "\\'" match-string 1] 4 (#$ . 7033)]) #@176 Load the description file in directory DIR for package PACKAGE. Here, PACKAGE is a string of the form NAME-VERSION, where NAME is the package name and VERSION is its version. (defalias 'package-load-descriptor #[(dir package) "\304 \"\304\305!\306P\n\"\307\n!\205! \310\311P!\205! \312\313\314#*\207" [package dir pkg-dir pkg-file expand-file-name package-strip-version "-pkg" file-directory-p file-exists-p ".el" load nil t] 4 (#$ . 7327)]) #@407 Load descriptors for installed Emacs Lisp packages. This looks for package subdirectories in `package-user-dir' and `package-directory-list'. The variable `package-load-list' controls which package subdirectories may be loaded. In each valid package subdirectory, this function loads the description file containing a call to `define-package', which updates `package-alist' and `package-obsolete-alist'. (defalias 'package-load-all-descriptors #[nil "\306\307Q\nB\310\211\205M @\311\f!\203E \312\f!\310\211\203D @\313 \"\203= \314\315\316\"\315\317\"\f#\210 A\211\204# * A\211\204 \310+\207" [package-subdirectory-regexp regexp package-user-dir package-directory-list dir --dolist-tail-- "\\`" "\\'" nil file-directory-p directory-files string-match package-maybe-load-descriptor match-string 1 2 subdir] 6 (#$ . 7782)]) #@228 Maybe load a specific package from directory DIR. NAME and VERSION are the package's name and version strings. This function checks `package-load-list', before actually loading the package by calling `package-load-descriptor'. (defalias 'package-maybe-load-descriptor #[(name version dir) "\306! \236\307\nQ\310\311 \"!\205N \f\204 \312 >\202G \f\211A@)\211\204. \313\202N \f\314=\204J \f;\203D \315\316\n!\316\f!\"\202G \317\320!\205N \321 \"*\207" [name package-load-list version subdir force dir intern "-" file-directory-p expand-file-name all nil t version-list-= version-to-list error "Invalid element in `package-load-list'" package-load-descriptor x] 5 (#$ . 8634)]) #@52 Extract version from a package description vector. (defalias 'package-desc-vers #[(desc) "\301H\207" [desc 0] 2 (#$ . 9325)]) (put 'package-desc-vers 'byte-optimizer 'byte-compile-inline-expand) #@57 Extract requirements from a package description vector. (defalias 'package-desc-reqs #[(desc) "\301H\207" [desc 1] 2 (#$ . 9527)]) (put 'package-desc-reqs 'byte-optimizer 'byte-compile-inline-expand) #@55 Extract doc string from a package description vector. (defalias 'package-desc-doc #[(desc) "\301H\207" [desc 2] 2 (#$ . 9734)]) (put 'package-desc-doc 'byte-optimizer 'byte-compile-inline-expand) #@74 Extract the kind of download from an archive package description vector. (defalias 'package-desc-kind #[(desc) "\301H\207" [desc 3] 2 (#$ . 9937)]) (put 'package-desc-kind 'byte-optimizer 'byte-compile-inline-expand) #@103 Return the directory where a package is installed, or nil if none. NAME and VERSION are both strings. (defalias 'package--dir #[(name version) "\306 Q\fB\307\n \203. \310\n @\"\311!\203'