From c25e99d9848e24d34b61b0bd24ce40db476b109a Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 24 Apr 2026 18:54:50 +0200 Subject: [PATCH] update package-lint --- .../data/compat-symbols | 1 - .../data/compat-symbols | 1 + .../data/stdlib-changes | 0 .../package-lint-autoloads.el | 0 .../package-lint-pkg.el | 6 +++--- .../package-lint.el | 19 +++++++++++++------ 6 files changed, 17 insertions(+), 10 deletions(-) delete mode 100644 elpa/package-lint-20250418.1425/data/compat-symbols create mode 100644 elpa/package-lint-20250828.1506/data/compat-symbols rename elpa/{package-lint-20250418.1425 => package-lint-20250828.1506}/data/stdlib-changes (100%) rename elpa/{package-lint-20250418.1425 => package-lint-20250828.1506}/package-lint-autoloads.el (100%) rename elpa/{package-lint-20250418.1425 => package-lint-20250828.1506}/package-lint-pkg.el (78%) rename elpa/{package-lint-20250418.1425 => package-lint-20250828.1506}/package-lint.el (98%) diff --git a/elpa/package-lint-20250418.1425/data/compat-symbols b/elpa/package-lint-20250418.1425/data/compat-symbols deleted file mode 100644 index 6dfab1a0..00000000 --- a/elpa/package-lint-20250418.1425/data/compat-symbols +++ /dev/null @@ -1 +0,0 @@ -((color-luminance-dark-limit completion-lazy-hilit completion-lazy-hilit-fn file-has-changed-p--hash-table gensym-counter lisp-directory major-mode--suspended mounted-file-systems mouse-select-region-move-to-beginning read-answer-short read-char-from-minibuffer-map read-char-from-minibuffer-map-hash read-char-history regexp-unmatchable set-transient-map-timeout set-transient-map-timer text-quoting-style trusted-content untrusted-content) add-display-text-property alist-get always and-let* assoc assoc-delete-all bignump bool-vector bounds-of-thing-at-mouse buffer-hash buffer-local-boundp buffer-local-restore-state buffer-local-set-state buffer-local-set-state--get buffer-match-p button--properties button-buttonize buttonize buttonize-region caaaar caaadr caaar caadar caaddr caadr cadaar cadadr cadar caddar cadddr caddr cdaaar cdaadr cdaar cdadar cdaddr cdadr cddaar cddadr cddar cdddar cddddr cdddr char-to-name char-uppercase-p cl-constantly cl-once-only cl-with-gensyms closurep color-dark-p color-oklab-to-srgb color-oklab-to-xyz color-srgb-to-oklab color-values-from-color-spec color-xyz-to-oklab compat compat-call compiled-function-p completion--category-override completion--metadata-get-1 completion-lazy-hilit completion-metadata-get copy-tree count-sentences count-windows date-days-in-month date-ordinal-to-time decoded-time-period define-key define-keymap defvar-keymap delete-line directory-abbrev-apply directory-abbrev-make-regexp directory-empty-p directory-files directory-files-and-attributes directory-name-p dlet dolist-with-progress-reporter drop ensure-list ert-with-temp-directory ert-with-temp-file exec-path executable-find file-attribute-access-time file-attribute-collect file-attribute-device-number file-attribute-file-identifier file-attribute-group-id file-attribute-inode-number file-attribute-link-number file-attribute-modes file-attribute-modification-time file-attribute-size file-attribute-status-change-time file-attribute-type file-attribute-user-id file-backup-file-names file-has-changed-p file-local-name file-modes-number-to-symbolic file-name-concat file-name-parent-directory file-name-quote file-name-quoted-p file-name-split file-name-unquote file-name-with-extension file-size-human-readable file-size-human-readable-iec find-buffer fixnump flatten-tree format-message format-prompt funcall-with-delayed-message function-alias-p garbage-collect-maybe gensym get-display-property get-scratch-buffer-create get-truename-buffer hash-table-empty-p if-let if-let* ignore-error image--set-property image-property insert-into-buffer interpreted-function-p key-parse key-valid-p keymap--check keymap-global-lookup keymap-global-set keymap-global-unset keymap-local-lookup keymap-local-set keymap-local-unset keymap-lookup keymap-set keymap-set-after keymap-substitute keymap-unset length< length= length> line-number-at-pos list-of-strings-p lookup-key macroexp-file-name macroexp-parse-body macroexp-quote macroexp-warn-and-return macroexpand-1 major-mode-restore major-mode-suspend make-decoded-time make-empty-file make-lock-file-name make-nearby-temp-file make-separator-line make-temp-file mapcan mark-thing-at-mouse match-buffers merge-ordered-lists minibuffer-history-value named-let native-comp-available-p ntake obarray-clear package-get-version plist-get plist-member plist-put plistp pos-bol pos-eol primitive-function-p process-lines-handling-status process-lines-ignore-status proper-list-p provided-mode-derived-p read-answer read-char-from-minibuffer read-char-from-minibuffer-insert-char read-char-from-minibuffer-insert-other read-multiple-choice read-multiple-choice readablep recenter regexp-opt region-bounds region-noncontiguous-p replace-regexp-in-region replace-string-in-region require-with-check ring-resize save-mark-and-excursion set-transient-map setq-local sort static-if string-chop-newline string-clean-whitespace string-distance string-equal-ignore-case string-fill string-greaterp string-lines string-pad string-replace string-search string-split string-trim string-trim-left string-trim-right string-width subr-native-elisp-p subr-primitive-p substitute-quotes take temporary-file-directory text-property-search-backward text-property-search-forward text-quoting-style thing-at-mouse thread-first thread-last time-equal-p trusted-content-p use-region-beginning use-region-end use-region-noncontiguous-p value< when-let when-let* while-let window-configuration-equal-p with-buffer-unmodified-if-unchanged with-delayed-message with-environment-variables with-existing-directory with-file-modes with-memoization with-minibuffer-selected-window with-restriction with-suppressed-warnings with-window-non-dedicated without-restriction xor) \ No newline at end of file diff --git a/elpa/package-lint-20250828.1506/data/compat-symbols b/elpa/package-lint-20250828.1506/data/compat-symbols new file mode 100644 index 00000000..766f5611 --- /dev/null +++ b/elpa/package-lint-20250828.1506/data/compat-symbols @@ -0,0 +1 @@ +((color-luminance-dark-limit completion-lazy-hilit completion-lazy-hilit-fn file-has-changed-p--hash-table gensym-counter lisp-directory major-mode--suspended mounted-file-systems mouse-select-region-move-to-beginning read-answer-short read-char-from-minibuffer-map read-char-from-minibuffer-map-hash read-char-history regexp-unmatchable set-transient-map-timeout set-transient-map-timer text-quoting-style trusted-content untrusted-content) add-display-text-property alist-get always and-let* assoc assoc-delete-all bignump bool-vector bounds-of-thing-at-mouse buffer-hash buffer-local-boundp buffer-local-restore-state buffer-local-set-state buffer-local-set-state--get buffer-match-p button--properties button-buttonize buttonize buttonize-region caaaar caaadr caaar caadar caaddr caadr cadaar cadadr cadar caddar cadddr caddr cdaaar cdaadr cdaar cdadar cdaddr cdadr cddaar cddadr cddar cdddar cddddr cdddr char-to-name char-uppercase-p cl-constantly cl-once-only cl-with-gensyms closurep color-dark-p color-oklab-to-srgb color-oklab-to-xyz color-srgb-to-oklab color-values-from-color-spec color-xyz-to-oklab compat compat-call compat-function compiled-function-p completion--category-override completion--metadata-get-1 completion-lazy-hilit completion-metadata-get copy-tree count-sentences count-windows date-days-in-month date-ordinal-to-time decoded-time-period define-key define-keymap defvar-keymap delete-line directory-abbrev-apply directory-abbrev-make-regexp directory-empty-p directory-files directory-files-and-attributes directory-name-p dlet dolist-with-progress-reporter drop ensure-list ert-with-temp-directory ert-with-temp-file exec-path executable-find file-attribute-access-time file-attribute-collect file-attribute-device-number file-attribute-file-identifier file-attribute-group-id file-attribute-inode-number file-attribute-link-number file-attribute-modes file-attribute-modification-time file-attribute-size file-attribute-status-change-time file-attribute-type file-attribute-user-id file-backup-file-names file-has-changed-p file-local-name file-modes-number-to-symbolic file-name-concat file-name-parent-directory file-name-quote file-name-quoted-p file-name-split file-name-unquote file-name-with-extension file-size-human-readable file-size-human-readable-iec find-buffer fixnump flatten-tree format-message format-prompt funcall-with-delayed-message function-alias-p garbage-collect-maybe gensym get-display-property get-scratch-buffer-create get-truename-buffer hash-table-empty-p if-let if-let* ignore-error image--set-property image-property insert-into-buffer interpreted-function-p key-parse key-valid-p keymap--check keymap-global-lookup keymap-global-set keymap-global-unset keymap-local-lookup keymap-local-set keymap-local-unset keymap-lookup keymap-set keymap-set-after keymap-substitute keymap-unset length< length= length> line-number-at-pos list-of-strings-p lookup-key macroexp-file-name macroexp-parse-body macroexp-quote macroexp-warn-and-return macroexpand-1 major-mode-restore major-mode-suspend make-decoded-time make-empty-file make-lock-file-name make-nearby-temp-file make-separator-line make-temp-file mapcan mark-thing-at-mouse match-buffers merge-ordered-lists minibuffer-history-value named-let native-comp-available-p ntake obarray-clear package-get-version plist-get plist-member plist-put plistp pos-bol pos-eol primitive-function-p process-lines-handling-status process-lines-ignore-status proper-list-p provided-mode-derived-p read-answer read-char-from-minibuffer read-char-from-minibuffer-insert-char read-char-from-minibuffer-insert-other read-multiple-choice read-multiple-choice readablep recenter regexp-opt region-bounds region-noncontiguous-p replace-regexp-in-region replace-string-in-region require-with-check ring-resize save-mark-and-excursion set-transient-map setq-local sort static-if string-chop-newline string-clean-whitespace string-distance string-equal-ignore-case string-fill string-greaterp string-lines string-pad string-replace string-search string-split string-trim string-trim-left string-trim-right string-width subr-native-elisp-p subr-primitive-p substitute-quotes take temporary-file-directory text-property-search-backward text-property-search-forward text-quoting-style thing-at-mouse thread-first thread-last time-equal-p trusted-content-p use-region-beginning use-region-end use-region-noncontiguous-p value< when-let when-let* while-let window-configuration-equal-p with-buffer-unmodified-if-unchanged with-delayed-message with-environment-variables with-existing-directory with-file-modes with-memoization with-minibuffer-selected-window with-restriction with-suppressed-warnings with-window-non-dedicated without-restriction xor) \ No newline at end of file diff --git a/elpa/package-lint-20250418.1425/data/stdlib-changes b/elpa/package-lint-20250828.1506/data/stdlib-changes similarity index 100% rename from elpa/package-lint-20250418.1425/data/stdlib-changes rename to elpa/package-lint-20250828.1506/data/stdlib-changes diff --git a/elpa/package-lint-20250418.1425/package-lint-autoloads.el b/elpa/package-lint-20250828.1506/package-lint-autoloads.el similarity index 100% rename from elpa/package-lint-20250418.1425/package-lint-autoloads.el rename to elpa/package-lint-20250828.1506/package-lint-autoloads.el diff --git a/elpa/package-lint-20250418.1425/package-lint-pkg.el b/elpa/package-lint-20250828.1506/package-lint-pkg.el similarity index 78% rename from elpa/package-lint-20250418.1425/package-lint-pkg.el rename to elpa/package-lint-20250828.1506/package-lint-pkg.el index c01a7095..cf0a8dc5 100644 --- a/elpa/package-lint-20250418.1425/package-lint-pkg.el +++ b/elpa/package-lint-20250828.1506/package-lint-pkg.el @@ -1,11 +1,11 @@ ;; -*- no-byte-compile: t; lexical-binding: nil -*- -(define-package "package-lint" "20250418.1425" +(define-package "package-lint" "20250828.1506" "A linting library for elisp package authors." '((emacs "24.4") (let-alist "1.0.6")) :url "https://github.com/purcell/package-lint" - :commit "2dc48e5fb9c37390d9290d4f5ab371c39b7a3829" - :revdesc "2dc48e5fb9c3" + :commit "f990665a1b4ca9eadbfcdb0b2a22fbb819e78ef4" + :revdesc "f990665a1b4c" :keywords '("lisp") :authors '(("Steve Purcell" . "steve@sanityinc.com") ("Fanael Linithien" . "fanael4@gmail.com")) diff --git a/elpa/package-lint-20250418.1425/package-lint.el b/elpa/package-lint-20250828.1506/package-lint.el similarity index 98% rename from elpa/package-lint-20250418.1425/package-lint.el rename to elpa/package-lint-20250828.1506/package-lint.el index a5575ec1..5d936e67 100644 --- a/elpa/package-lint-20250418.1425/package-lint.el +++ b/elpa/package-lint-20250828.1506/package-lint.el @@ -6,8 +6,8 @@ ;; Fanael Linithien ;; URL: https://github.com/purcell/package-lint ;; Keywords: lisp -;; Package-Version: 20250418.1425 -;; Package-Revision: 2dc48e5fb9c3 +;; Package-Version: 20250828.1506 +;; Package-Revision: f990665a1b4c ;; Package-Requires: ((emacs "24.4") (let-alist "1.0.6")) ;; This program is free software; you can redistribute it and/or modify @@ -423,8 +423,10 @@ Instead it should use `user-emacs-directory' or `locate-user-emacs-file'." "Check the contents of the \"Package-Requires\" header. Return a list of well-formed dependencies, same as `package-lint--check-well-formed-dependencies'." - (let ((deps (package-lint--goto-header "Package-Requires"))) + (let ((deps (package-lint--goto-header "Package-Requires" t))) (when deps + (when (listp deps) + (setq deps (mapconcat #'identity deps ""))) (let ((position (point))) (condition-case err (pcase-let ((`(,parsed-deps . ,parse-end-pos) (read-from-string deps))) @@ -576,7 +578,7 @@ required version PACKAGE-VERSION. If not, raise an error for DEP-POS." (save-excursion (save-match-data (and (re-search-backward - (concat "(" (regexp-opt '("fboundp" "macrop")) "\\s-+#?'" (regexp-quote sym) "\\_>") (point-min) t) + (concat "(" (regexp-opt '("fboundp" "functionp" "macrop")) "\\s-+#?'" (regexp-quote sym) "\\_>") (point-min) t) (not (package-lint--inside-comment-or-string-p)))))) (defun package-lint--map-regexp-match (regexp callback) @@ -1163,7 +1165,12 @@ leading or trailing whitespace removed. If MULTILINE is non-nil, allow the header value to span lines, and return them as a list of strings." (goto-char (point-min)) - (when (re-search-forward (concat (lm-get-header-re header-name) "\\(.*?\\) *$") (lm-code-mark) t) + (when (re-search-forward (concat (lm-get-header-re header-name) "\\(.*?\\) *$") + (cond + ((fboundp 'lm-code-start) (lm-code-start)) ; >=30 + ((fboundp 'lm-code-mark) (lm-code-mark)) ; <=29 + ((error "BUG: lm-code-{start,mark} disappeared"))) + t) (let ((start-pos (match-beginning 3)) (val (match-string-no-properties 3))) (when multiline @@ -1172,7 +1179,7 @@ them as a list of strings." (while (looking-at "^;+\\(\t\\|[\t\s]\\{2,\\}\\)\\(.+\\)") (push (match-string-no-properties 2) val) (forward-line 1)) - (nreverse val)) + (setq val (nreverse val))) (goto-char start-pos) val))) -- 2.47.3