projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b9b78
)
Add customization group for MLIR.
author
Philipp Stephani
<phst@google.com>
Mon, 5 Jun 2023 13:34:17 +0000
(15:34 +0200)
committer
Sam McCall
<sam.mccall@gmail.com>
Mon, 5 Jun 2023 13:34:47 +0000
(15:34 +0200)
Otherwise the customization options don’t appear in any group.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D148920
mlir/utils/emacs/mlir-mode.el
patch
|
blob
|
history
diff --git
a/mlir/utils/emacs/mlir-mode.el
b/mlir/utils/emacs/mlir-mode.el
index
9810a4c
..
69056ba
100644
(file)
--- a/
mlir/utils/emacs/mlir-mode.el
+++ b/
mlir/utils/emacs/mlir-mode.el
@@
-74,6
+74,11
@@
;;;###autoload
(add-to-list 'auto-mode-alist (cons "\\.mlir\\'" 'mlir-mode))
+(defgroup mlir nil
+ "Major mode for editing MLIR source files."
+ :group 'languages
+ :prefix "mlir-")
+
;; Set default value of opt-tool to use as mlir-opt.
(defcustom mlir-opt "mlir-opt"
"Commandline MLIR opt tool to use."