Skip to content

Commit e6e31f5

Browse files
committed
Fix Emacs library formatting
This makes it easier to ship/install these using the builtin Emacs package format (in particular, a Version is required).
1 parent 8fdc3b9 commit e6e31f5

File tree

6 files changed

+8
-1
lines changed

6 files changed

+8
-1
lines changed

clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
;;; clang-include-fixer.el --- Emacs integration of the clang include fixer -*- lexical-binding: t; -*-
22

3+
;; Version: 0.1.0
34
;; Keywords: tools, c
45
;; Package-Requires: ((cl-lib "0.5") (json "1.2") (let-alist "1.0.4"))
56

clang/tools/clang-format/clang-format.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
;;; clang-format.el --- Format code using clang-format -*- lexical-binding: t; -*-
22

3+
;; Version: 0.1.0
34
;; Keywords: tools, c
45
;; Package-Requires: ((cl-lib "0.3"))
56
;; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

clang/tools/clang-rename/clang-rename.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
;;; clang-rename.el --- Renames every occurrence of a symbol found at <offset>. -*- lexical-binding: t; -*-
22

3+
;; Version: 0.1.0
34
;; Keywords: tools, c
45

56
;;; Commentary:

llvm/utils/emacs/tablegen-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
;;; tablegen-mode.el --- Major mode for TableGen description files (part of LLVM project)
22

33
;; Maintainer: The LLVM team, http://llvm.org/
4+
;; Version: 1.0
45

56
;;; Commentary:
67
;; A major mode for TableGen description files in LLVM.

mlir/utils/emacs/mlir-lsp-client.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
;; See the License for the specific language governing permissions and
1515
;; limitations under the License.
1616

17+
;; Version: 0.1.0
18+
1719
;;; Commentary:
1820

1921
;; LSP clinet to use with `mlir-mode' that uses `mlir-lsp-server' or any

mlir/utils/emacs/mlir-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
;; See the License for the specific language governing permissions and
1515
;; limitations under the License.
1616

17+
;; Version: 0.1.0
18+
1719
;;; Commentary:
1820

1921
;; Major mode for editing MLIR files.
@@ -96,5 +98,4 @@
9698
(add-to-list 'auto-mode-alist (cons "\\.mlirbc\\'" 'mlir-mode))
9799

98100
(provide 'mlir-mode)
99-
100101
;;; mlir-mode.el ends here

0 commit comments

Comments
 (0)