From 9aab258b80af29865a89ef3e7615251bc250358e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 16 Sep 2023 14:34:20 +0200 Subject: [PATCH] Add missing builtin package declarations * lisp/finder.el (finder--builtins-alist): Add new package directories 'leim' and 'obsolete' as part of the 'emacs' package. Add new package directory 'use-package' as part of the 'use-package' package. * lisp/net/eudc-capf.el: * lisp/net/eudcb-ecomplete.el: * lisp/net/eudcb-macos-contacts.el: * lisp/net/eudcb-mailabbrev.el: Declare library as part of the 'eudc' package. * lisp/mail/ietf-drums-date.el: Declare library as part of the 'ietf-drums' package. * lisp/image/image-dired-dired.el: * lisp/image/image-dired-external.el: * lisp/image/image-dired-tags.el: * lisp/image/image-dired-util.el: Declare library as part of the 'image-dired' package. * lisp/emacs-lisp/oclosure.el: * lisp/keymap.el: * lisp/progmodes/c-ts-common.el: Declare library as part of the 'emacs' package. (Bug#62751) (cherry picked from commit 94b1de2774b5c1fa3c28285229900657638f5c3f) --- lisp/emacs-lisp/oclosure.el | 1 + lisp/finder.el | 3 +++ lisp/image/image-dired-dired.el | 1 + lisp/image/image-dired-external.el | 1 + lisp/image/image-dired-tags.el | 1 + lisp/image/image-dired-util.el | 1 + lisp/keymap.el | 4 ++++ lisp/mail/ietf-drums-date.el | 1 + lisp/net/eudc-capf.el | 11 ++++++----- lisp/net/eudcb-ecomplete.el | 13 ++++++++----- lisp/net/eudcb-macos-contacts.el | 3 +++ lisp/net/eudcb-mailabbrev.el | 13 ++++++++----- lisp/progmodes/c-ts-common.el | 1 + 13 files changed, 39 insertions(+), 15 deletions(-) diff --git a/lisp/emacs-lisp/oclosure.el b/lisp/emacs-lisp/oclosure.el index f5a150ac4ae..0b87115e2a9 100644 --- a/lisp/emacs-lisp/oclosure.el +++ b/lisp/emacs-lisp/oclosure.el @@ -3,6 +3,7 @@ ;; Copyright (C) 2021-2023 Free Software Foundation, Inc. ;; Author: Stefan Monnier +;; Package: emacs ;; This file is part of GNU Emacs. diff --git a/lisp/finder.el b/lisp/finder.el index 5aec0149b89..c1acee18d63 100644 --- a/lisp/finder.el +++ b/lisp/finder.el @@ -147,7 +147,9 @@ would otherwise be.") ("gnus" . gnus) ("international" . emacs) ("language" . emacs) + ("leim" . emacs) ("mh-e" . mh-e) + ("obsolete" . emacs) ("semantic" . semantic) ("analyze" . semantic) ("bovine" . semantic) @@ -162,6 +164,7 @@ would otherwise be.") ("org" . org) ("srecode" . srecode) ("term" . emacs) + ("use-package" . use-package) ("url" . url)) "Alist of built-in package directories. Each element should have the form (DIR . PACKAGE), where DIR is a diff --git a/lisp/image/image-dired-dired.el b/lisp/image/image-dired-dired.el index 6b932601df0..d522c06d10b 100644 --- a/lisp/image/image-dired-dired.el +++ b/lisp/image/image-dired-dired.el @@ -5,6 +5,7 @@ ;; Author: Mathias Dahl ;; Maintainer: Stefan Kangas ;; Keywords: multimedia +;; Package: image-dired ;; This file is part of GNU Emacs. diff --git a/lisp/image/image-dired-external.el b/lisp/image/image-dired-external.el index 9f35e17a7e6..07b8bf7d9a2 100644 --- a/lisp/image/image-dired-external.el +++ b/lisp/image/image-dired-external.el @@ -5,6 +5,7 @@ ;; Author: Mathias Dahl ;; Maintainer: Stefan Kangas ;; Keywords: multimedia +;; Package: image-dired ;; This file is part of GNU Emacs. diff --git a/lisp/image/image-dired-tags.el b/lisp/image/image-dired-tags.el index b9c1a811850..79ac6fb58f2 100644 --- a/lisp/image/image-dired-tags.el +++ b/lisp/image/image-dired-tags.el @@ -5,6 +5,7 @@ ;; Author: Mathias Dahl ;; Maintainer: Stefan Kangas ;; Keywords: multimedia +;; Package: image-dired ;; This file is part of GNU Emacs. diff --git a/lisp/image/image-dired-util.el b/lisp/image/image-dired-util.el index a80b3afc0f3..a006aa40305 100644 --- a/lisp/image/image-dired-util.el +++ b/lisp/image/image-dired-util.el @@ -4,6 +4,7 @@ ;; Author: Mathias Dahl ;; Maintainer: Stefan Kangas +;; Package: image-dired ;; This file is part of GNU Emacs. diff --git a/lisp/keymap.el b/lisp/keymap.el index 017b2d6ead0..093536eda93 100644 --- a/lisp/keymap.el +++ b/lisp/keymap.el @@ -2,6 +2,10 @@ ;; Copyright (C) 2021-2023 Free Software Foundation, Inc. +;; Maintainer: emacs-devel@gnu.org +;; Keywords: internal +;; Package: emacs + ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify diff --git a/lisp/mail/ietf-drums-date.el b/lisp/mail/ietf-drums-date.el index b2cceb5cef2..68ba88e89ec 100644 --- a/lisp/mail/ietf-drums-date.el +++ b/lisp/mail/ietf-drums-date.el @@ -3,6 +3,7 @@ ;; Copyright (C) 2022-2023 Free Software Foundation, Inc. ;; Author: Bob Rogers +;; Package: ietf-drums ;; Keywords: mail, util ;; This file is part of GNU Emacs. diff --git a/lisp/net/eudc-capf.el b/lisp/net/eudc-capf.el index d454851ae67..6d51d572485 100644 --- a/lisp/net/eudc-capf.el +++ b/lisp/net/eudc-capf.el @@ -1,21 +1,22 @@ ;;; eudc-capf.el --- EUDC - completion-at-point bindings -*- lexical-binding:t -*- ;; Copyright (C) 2022-2023 Free Software Foundation, Inc. -;; + ;; Author: Alexander Adolf -;; +;; Package: eudc + ;; This file is part of GNU Emacs. -;; + ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. -;; + ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. -;; + ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . diff --git a/lisp/net/eudcb-ecomplete.el b/lisp/net/eudcb-ecomplete.el index 20bdd9059f5..a4b7a183d25 100644 --- a/lisp/net/eudcb-ecomplete.el +++ b/lisp/net/eudcb-ecomplete.el @@ -1,29 +1,32 @@ ;;; eudcb-ecomplete.el --- EUDC - ecomplete backend -*- lexical-binding: t -*- ;; Copyright (C) 2022-2023 Free Software Foundation, Inc. -;; + ;; Author: Alexander Adolf -;; +;; Package: eudc + ;; This file is part of GNU Emacs. -;; + ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. -;; + ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. -;; + ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . ;;; Commentary: + ;; This library provides an interface to the ecomplete package as ;; an EUDC data source. ;;; Usage: + ;; No setup is required, since there is an entry for this backend ;; in `eudc-server-hotlist' by default. ;; diff --git a/lisp/net/eudcb-macos-contacts.el b/lisp/net/eudcb-macos-contacts.el index bb73237e6ec..e9ce22f4134 100644 --- a/lisp/net/eudcb-macos-contacts.el +++ b/lisp/net/eudcb-macos-contacts.el @@ -3,6 +3,7 @@ ;; Copyright (C) 2020-2023 Free Software Foundation, Inc. ;; Author: Alexander Adolf +;; Package: eudc ;; This file is part of GNU Emacs. @@ -20,11 +21,13 @@ ;; along with GNU Emacs. If not, see . ;;; Commentary: + ;; This library provides an interface to the macOS Contacts app as ;; an EUDC data source. It uses AppleScript to interface with the ;; Contacts app on localhost, so no 3rd party tools are needed. ;;; Usage: + ;; To load the library, first `require' it: ;; ;; (require 'eudcb-macos-contacts) diff --git a/lisp/net/eudcb-mailabbrev.el b/lisp/net/eudcb-mailabbrev.el index e47f8687093..196e8ff2525 100644 --- a/lisp/net/eudcb-mailabbrev.el +++ b/lisp/net/eudcb-mailabbrev.el @@ -1,29 +1,32 @@ ;;; eudcb-mailabbrev.el --- EUDC - mailabbrev backend -*- lexical-binding: t -*- ;; Copyright (C) 2022-2023 Free Software Foundation, Inc. -;; + ;; Author: Alexander Adolf -;; +;; Package: eudc + ;; This file is part of GNU Emacs. -;; + ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. -;; + ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. -;; + ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . ;;; Commentary: + ;; This library provides an interface to the mailabbrev package as ;; an EUDC data source. ;;; Usage: + ;; No setup is required, since there is an entry for this backend ;; in `eudc-server-hotlist' by default. ;; diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index e0a7c46508e..3b0814970ad 100644 --- a/lisp/progmodes/c-ts-common.el +++ b/lisp/progmodes/c-ts-common.el @@ -3,6 +3,7 @@ ;; Copyright (C) 2023 Free Software Foundation, Inc. ;; Maintainer : 付禹安 (Yuan Fu) +;; Package : emacs ;; Keywords : c c++ java javascript rust languages tree-sitter ;; This file is part of GNU Emacs. -- 2.39.2