diff options
Diffstat (limited to 'app-emacs/package-lint/files/package-lint-symbol-info-data-directory.patch')
-rw-r--r-- | app-emacs/package-lint/files/package-lint-symbol-info-data-directory.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app-emacs/package-lint/files/package-lint-symbol-info-data-directory.patch b/app-emacs/package-lint/files/package-lint-symbol-info-data-directory.patch deleted file mode 100644 index 1b8644976721..000000000000 --- a/app-emacs/package-lint/files/package-lint-symbol-info-data-directory.patch +++ /dev/null @@ -1,26 +0,0 @@ -index 2ecaef5..8178375 100644 ---- a/package-lint.el -+++ b/package-lint.el -@@ -106,13 +106,15 @@ a backport library shipping the feature and VERSION is an - optional minimum version containing the feature.") - - (defconst package-lint-symbol-info -- (let* ((stdlib-changes (with-temp-buffer -- (insert-file-contents -- (expand-file-name "data/stdlib-changes" -- (if load-file-name -- (file-name-directory load-file-name) -- default-directory))) -- (read (current-buffer)))) -+ (let* ((stdlib-changes -+ (with-temp-buffer -+ (insert-file-contents -+ (let ((siteetc-stdlib-changes -+ (expand-file-name "data/stdlib-changes" "@SITEETC@"))) -+ (if (file-exists-p siteetc-stdlib-changes) -+ siteetc-stdlib-changes -+ (expand-file-name "data/stdlib-changes" default-directory)))) -+ (read (current-buffer)))) - (info (make-hash-table))) - (pcase-dolist (`(,version . ,data) stdlib-changes) - (pcase-dolist (`(,syms . ,action) |