summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Move package spec documentation to 'package-vc-selected-packages'Philip Kaludercic2022-11-171-29/+27
| | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Add documentation. (package-vc--archive-spec-alist): Remove documentation.
* Fix type error in package-vc prompt functionPhilip Kaludercic2022-11-171-1/+1
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc--read-package-name): Pass (not allow-url) as REQUIRE-MATCH, not as INITIAL-INPUT.
* Rename 'package-vc-refresh' to 'package-vc-rebuild'Philip Kaludercic2022-11-171-4/+9
| | | | | | | | | | * doc/emacs/package.texi (Fetching Package Sources): Update documentation. * lisp/emacs-lisp/package-vc.el (package-vc-refresh): Rename from. (package-vc-rebuild): Rename to. This intends to clarify the intention and avoid confusion with 'package-refresh-contents'. Thanks to Rudolf Adamkovič for the suggestion.
* Track 'default-directory' while updating source packagesPhilip Kaludercic2022-11-171-4/+7
| | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Add the source directory to the identifier list, in case the remaining 'vc-do-command' arguments are all read-time constants.
* Respect :lisp-dir in package specs by loading a sub-directoryPhilip Kaludercic2022-11-172-44/+38
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-repository-store): Remove obsolete variable. (package-vc--unpack-1): Respect :lisp-dir. (package-vc--unpack): Add :lisp-dir to the package description if necessary. * lisp/emacs-lisp/package.el (package--delete-directory): Check if a directory is a symbolic link.
* Fix generation of documentation for source packagesPhilip Kaludercic2022-11-171-2/+8
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Call "makeinfo" before "install-info"
* Remove references to internal symbols from public docstringsPhilip Kaludercic2022-11-171-2/+2
| | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-repository-store): Unmention 'package-vc--unpack'. (package-vc-install): Unmention 'package-vc--guess-backend' in favour of 'package-vc-heuristic-alist'.
* Expand 'package-vc--unpack-1' documentationPhilip Kaludercic2022-11-171-1/+5
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Explain what the function does.
* Clarify 'package-vc--build-documentation' docstringPhilip Kaludercic2022-11-171-1/+1
| | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Rewrite the first line. As suggested by Eli Zaretskii.
* Fix the docstring for 'package-vc--version'Philip Kaludercic2022-11-171-1/+1
| | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--version): Replace docstring. It seems like this was just copied over from 'package-vc-commit', for no good reason.
* Fix 'package-vc-selected-packages' documentationPhilip Kaludercic2022-11-171-2/+6
| | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Remove reference to non-existent function and add an explanation that the value won't override an existing source package installation.
* Mark 'package-vc-update' as interactivePhilip Kaludercic2022-11-171-41/+42
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--sourced-packages-list): Remove function in favour of 'package-vc--read-package-name'. (package-vc--read-package-name): Extract out common functionality. (package-vc--read-package-desc): Add auxiliary function based on 'package-vc--read-package-name'. (package-vc-update): Add interactive spec using 'package-vc--read-package-desc'. (package-vc-install): Use 'package-vc--read-package-desc'. (package-vc-checkout): Use 'package-vc--read-package-desc'. (package-vc--read-pkg): Remove in favour of 'package-vc--read-package-desc'. (package-vc-refresh): Use 'package-vc--read-package-desc'. (package-vc-prepare-patch): Use 'package-vc--read-package-desc'.
* Autoload 'package-vc-install-selected-packages'Philip Kaludercic2022-11-171-0/+3
| | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Add an autoload cookie. (package-vc-selected-packages): Set :initialize to 'custom-initialize-default'.
* Mark 'package-vc-install-selected-packages' as interactivePhilip Kaludercic2022-11-171-0/+1
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Add an interactive spec.
* Rename '-ensure-packages' to -install-selected-packages'Philip Kaludercic2022-11-171-2/+2
| | | | | | | * doc/emacs/package.texi (Fetching Package Sources): Rename instances. * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Rename to 'package-vc-install-selected-packages'. (package-vc-selected-packages): Call renamed function.
* Handle strings as keys in 'package-vc-ensure-packages'Philip Kaludercic2022-11-171-2/+3
| | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Inter sting keys while processing 'package-vc-selected-packages'. As requested by Rudolf Adamkovič.
* ; Fix interactive spec for 'package-vc-refresh'Philip Kaludercic2022-11-171-1/+1
| | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-refresh): Thanks to Rudolf Adamkovič for noticing the mistake.
* * lisp/emacs-lisp/shortdoc.el (sequence): Don't use cl-lib (bug#59319)Juanma Barranquero2022-11-171-4/+4
|
* ; Fix typos (duplicate words)Stefan Kangas2022-11-171-1/+1
|
* ; * lisp/emacs-lisp/seq.el (seq-filter): Fix typo in doc string.Eli Zaretskii2022-11-171-1/+1
|
* ; Improve doc strings in seq.elEli Zaretskii2022-11-151-59/+67
| | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-doseq, seq-setq, seq-elt) (seq-length, seq-rest, seq-do, seq-mapn, seq-drop, seq-take) (seq-drop-while, seq-take-while, seq-sort, seq-sort-by) (seq-concatenate, seq-into, seq-filter, seq-remove) (seq-remove-at-position, seq-every-p, seq-some, seq-find) (seq-count, seq-contains, seq-contains-p, seq-set-equal-p) (seq-position, seq-positions, seq-uniq, seq-mapcat) (seq-partition, seq-union, seq-intersection, seq-difference) (seq--count-successive, seq--elt-safe, seq-random-elt) (seq-split, seq-keep): Doc fixes.
* ; Fix typosStefan Kangas2022-11-111-1/+1
|
* Fix &key parameters called without arguments (bug#58714)Gerd Möllmann2022-11-111-0/+2
| | | | | | * lisp/emacs-lisp/cl-macs.el (cl--do-arglist): Check for missing argument. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-&key-arguments): New test.
* bytecomp.el (byte-recompile-directory): Fix negated ignore logicNicholas Vollmer2022-11-091-3/+3
| | | | | Previous logic would only compile files which matched the byte-compile-ignore-files regular expression. (Bug#59115)
* ; * lisp/emacs-lisp/package.el (package-load-all-descriptors): Use \`Mattias Engdegård2022-11-061-1/+1
|
* Rephrase 'package-vc-ensure-packages' docstringPhilip Kaludercic2022-11-051-1/+1
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc-ensure-packages): Make it easier to read.
* ; Rename 'package-vc-link-directory' to '-install-from-checkout'Philip Kaludercic2022-11-051-3/+3
| | | | | | | * doc/emacs/package.texi (Fetching Package Sources): Rename instances * etc/NEWS: Rename instances. * lisp/emacs-lisp/package-vc.el (package-vc-link-directory): Rename to 'package-vc-install-from-checkout'.
* ; Fix documentation of package-vc.elEli Zaretskii2022-11-051-95/+99
| | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-default-backend) (package-vc-selected-packages, package-vc--archive-spec-alist) (package-vc--archive-data-alist, package-vc--query-spec) (package-vc--read-archive-data, package-vc-commit) (package-vc--main-file, package-vc--generate-description-file) (package-vc--build-documentation, package-vc--unpack-1) (package-vc--guess-backend, package-vc--clone) (package-vc--unpack, package-vc-update, package-vc--release-rev) (package-vc-install, package-vc-checkout) (package-vc-link-directory, package-vc-refresh) (package-vc-prepare-patch, package-vc--archives-initialize): Doc fixes.
* ; package-vc: Pacify byte-compilerStefan Kangas2022-11-041-0/+1
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc-selected-packages): Declare.
* Merge branch 'feature/package+vc'Philip Kaludercic2022-11-043-69/+953
|\
| * * lisp/emacs-lisp/package-vc.el: Expand commentaryPhilip Kaludercic2022-11-041-0/+11
| |
| * ; * lisp/emacs-lisp/package-vc.el (package-vc): Add missing :prefixPhilip Kaludercic2022-11-041-0/+1
| |
| * Link to Manual from the package-vc groupPhilip Kaludercic2022-11-041-0/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc): Add 'custom-manual' link.
| * Document 'package-vc-selected-packages'Philip Kaludercic2022-11-041-10/+12
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/package.texi: Expand documentation and give example. * etc/NEWS: Mention 'package-vc-selected-packages'. * lisp/emacs-lisp/package-vc.el (package-vc--select-packages): Remove function. (package-vc-ensure-packages): Add function based on 'package-vc--select-packages'. (package-vc-selected-packages): Call 'package-vc-ensure-packages' from custom setter.
| * Autoload all entry functionsPhilip Kaludercic2022-11-031-0/+3
| |
| * ; Mention that 'package-vc-checkout' open a directoryPhilip Kaludercic2022-11-031-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-checkout): Mention it in the docstring.
| * ; Explicitly mark internal functions as suchPhilip Kaludercic2022-11-031-64/+64
| |
| * * lisp/emacs-lisp/package-vc.el (package-vc-version): Use main filePhilip Kaludercic2022-11-031-11/+7
| |
| * Add command 'package-vc-checkout'Philip Kaludercic2022-11-031-41/+78
| | | | | | | | | | | | | | | | | | * doc/emacs/package.texi: Document feature. * etc/NEWS: Mention feature. * lisp/emacs-lisp/package-vc.el (package-vc-clone): Extract functionality out of 'package-vc-unpack'. (package-vc-unpack): Extract functionality out to 'package-vc-clone'. (package-vc-checkout): Add command.
| * ; Update TODO sectionPhilip Kaludercic2022-11-021-8/+0
| |
| * ; Handle case that was forgotten in the last commitPhilip Kaludercic2022-11-021-1/+1
| |
| * Track file name in 'package--downloads-in-progress'Philip Kaludercic2022-11-021-10/+10
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Move 'cl-pushnew' call from 'package--download-one-archive' and cons file name onto the archive. (package--download-one-archive): Cons the file name onto the archive. (package--download-and-read-archives): Remove 'cl-pushnew' call.
| * ; Replace 'let*' with 'let' where possiblePhilip Kaludercic2022-11-021-4/+4
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--select-packages): Do it. (package-vc--read-archive-data): Do it.
| * Ensure 'package-vc-update' runs 'package-vc-unpack-1' only oncePhilip Kaludercic2022-11-011-11/+32
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Use 'vc-sourced-packages-list' and other hacks.
| * ; Avoid loading package-vc in 'package-load-descriptor'Philip Kaludercic2022-10-311-4/+0
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-load-descriptor): Remove the :commit check. The property is mostly unused anyway, and this unnecessarily slows down initialisation if a package is installed from source.
| * ; Actually check if NAME-OR-URL is a stringPhilip Kaludercic2022-10-311-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Use stringp as predicate instead of binding it as a variable.
| * Allow specifying and pinning source packages to be installedPhilip Kaludercic2022-10-311-0/+45
| | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--select-packages): Add custom setter for 'package-vc-selected-packages'. (package-vc-selected-packages): Add user option.
| * ; Update TODO sectionPhilip Kaludercic2022-10-301-3/+0
| |
| * Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-10-3017-243/+401
| |\
| * | Have 'last-change' accept a line number instead of a rangePhilip Kaludercic2022-10-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-release-rev): Use new signature. * lisp/vc/vc-git.el (vc-git-last-change): Update signature * lisp/vc/vc.el (vc-default-last-change): Update signature and use 'annotate-command'.