[emacs] Fix Emacs library formatting (#76110)

This makes it easier to ship/install these using the builtin Emacs
package format (in particular, a Version is required).
This commit is contained in:
darkfeline 2024-01-10 04:14:21 -08:00 committed by GitHub
parent 78cf2c041b
commit 5b4abae763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,6 @@
;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*- ;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*-
;; Version: 0.1.0
;; Keywords: tools, c ;; Keywords: tools, c
;; Package-Requires: ((cl-lib "0.5") (json "1.2") (let-alist "1.0.4")) ;; Package-Requires: ((cl-lib "0.5") (json "1.2") (let-alist "1.0.4"))

View File

@ -1,5 +1,6 @@
;;; clang-format.el --- Format code using clang-format -*- lexical-binding: t; -*- ;;; clang-format.el --- Format code using clang-format -*- lexical-binding: t; -*-
;; Version: 0.1.0
;; Keywords: tools, c ;; Keywords: tools, c
;; Package-Requires: ((cl-lib "0.3")) ;; Package-Requires: ((cl-lib "0.3"))
;; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ;; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

View File

@ -1,5 +1,6 @@
;;; clang-rename.el --- Renames every occurrence of a symbol found at <offset>. -*- lexical-binding: t; -*- ;;; clang-rename.el --- Renames every occurrence of a symbol found at <offset>. -*- lexical-binding: t; -*-
;; Version: 0.1.0
;; Keywords: tools, c ;; Keywords: tools, c
;;; Commentary: ;;; Commentary:

View File

@ -1,6 +1,7 @@
;;; tablegen-mode.el --- Major mode for TableGen description files (part of LLVM project) ;;; tablegen-mode.el --- Major mode for TableGen description files (part of LLVM project)
;; Maintainer: The LLVM team, http://llvm.org/ ;; Maintainer: The LLVM team, http://llvm.org/
;; Version: 1.0
;;; Commentary: ;;; Commentary:
;; A major mode for TableGen description files in LLVM. ;; A major mode for TableGen description files in LLVM.

View File

@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and ;; See the License for the specific language governing permissions and
;; limitations under the License. ;; limitations under the License.
;; Version: 0.1.0
;;; Commentary: ;;; Commentary:
;; LSP clinet to use with `mlir-mode' that uses `mlir-lsp-server' or any ;; LSP clinet to use with `mlir-mode' that uses `mlir-lsp-server' or any

View File

@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and ;; See the License for the specific language governing permissions and
;; limitations under the License. ;; limitations under the License.
;; Version: 0.1.0
;;; Commentary: ;;; Commentary:
;; Major mode for editing MLIR files. ;; Major mode for editing MLIR files.
@ -96,5 +98,4 @@
(add-to-list 'auto-mode-alist (cons "\\.mlirbc\\'" 'mlir-mode)) (add-to-list 'auto-mode-alist (cons "\\.mlirbc\\'" 'mlir-mode))
(provide 'mlir-mode) (provide 'mlir-mode)
;;; mlir-mode.el ends here ;;; mlir-mode.el ends here