Skip to content

Commit fdbfdbd

Browse files
phstsam-mccall
authored andcommitted
Add customization group for MLIR.
Otherwise the customization options don’t appear in any group. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D148920
1 parent e4b9b78 commit fdbfdbd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mlir/utils/emacs/mlir-mode.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
;;;###autoload
7575
(add-to-list 'auto-mode-alist (cons "\\.mlir\\'" 'mlir-mode))
7676

77+
(defgroup mlir nil
78+
"Major mode for editing MLIR source files."
79+
:group 'languages
80+
:prefix "mlir-")
81+
7782
;; Set default value of opt-tool to use as mlir-opt.
7883
(defcustom mlir-opt "mlir-opt"
7984
"Commandline MLIR opt tool to use."

0 commit comments

Comments
 (0)