[Mlir-commits] [mlir] fdbfdbd - Add customization group for MLIR.

Sam McCall llvmlistbot at llvm.org
Mon Jun 5 06:35:08 PDT 2023


Author: Philipp Stephani
Date: 2023-06-05T15:34:47+02:00
New Revision: fdbfdbdf4229cb674386bd0c409c260231d8f773

URL: https://github.com/llvm/llvm-project/commit/fdbfdbdf4229cb674386bd0c409c260231d8f773
DIFF: https://github.com/llvm/llvm-project/commit/fdbfdbdf4229cb674386bd0c409c260231d8f773.diff

LOG: 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

Added: 
    

Modified: 
    mlir/utils/emacs/mlir-mode.el

Removed: 
    


################################################################################
diff  --git a/mlir/utils/emacs/mlir-mode.el b/mlir/utils/emacs/mlir-mode.el
index 9810a4c7cb9a7..69056ba3620eb 100644
--- 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."


        


More information about the Mlir-commits mailing list