[llvm] fix(emacs): Fix autoload for llvm-mir-mode (PR #74923)
Jen-Chieh Shen via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 9 02:07:02 PST 2023
https://github.com/jcs090218 created https://github.com/llvm/llvm-project/pull/74923
None
>From 3d470caf433dcc786337c09cf9292fdb0c6bfb04 Mon Sep 17 00:00:00 2001
From: JenChieh <jcs090218 at gmail.com>
Date: Sat, 9 Dec 2023 02:06:34 -0800
Subject: [PATCH] fix(emacs): Fix autoload for llvm-mir-mode
---
llvm/utils/emacs/llvm-mir-mode.el | 3 +--
llvm/utils/emacs/llvm-mode.el | 1 -
llvm/utils/emacs/tablegen-mode.el | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/llvm/utils/emacs/llvm-mir-mode.el b/llvm/utils/emacs/llvm-mir-mode.el
index 6f1de4252445fc..5ccb82f05a00b5 100644
--- a/llvm/utils/emacs/llvm-mir-mode.el
+++ b/llvm/utils/emacs/llvm-mir-mode.el
@@ -56,7 +56,7 @@
llvm-font-lock-keywords)
"Keyword highlighting specification for `llvm-mir-mode'.")
- ;;;###autoload
+;;;###autoload
(define-derived-mode llvm-mir-mode prog-mode "LLVM MIR"
"A major mode for editing LLVM MIR files."
(setq-local comment-start "; ")
@@ -66,5 +66,4 @@
(add-to-list 'auto-mode-alist (cons "\\.mir\\'" 'llvm-mir-mode))
(provide 'llvm-mir-mode)
-
;;; llvm-mir-mode.el ends here
diff --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el
index 5264ea260f57c1..d821e75214498a 100644
--- a/llvm/utils/emacs/llvm-mode.el
+++ b/llvm/utils/emacs/llvm-mode.el
@@ -117,5 +117,4 @@
(add-to-list 'auto-mode-alist (cons "\\.ll\\'" 'llvm-mode))
(provide 'llvm-mode)
-
;;; llvm-mode.el ends here
diff --git a/llvm/utils/emacs/tablegen-mode.el b/llvm/utils/emacs/tablegen-mode.el
index 330da465887053..45eb5e06df104b 100644
--- a/llvm/utils/emacs/tablegen-mode.el
+++ b/llvm/utils/emacs/tablegen-mode.el
@@ -125,5 +125,4 @@
(add-to-list 'auto-mode-alist (cons (purecopy "\\.td\\'") 'tablegen-mode))
(provide 'tablegen-mode)
-
;;; tablegen-mode.el ends here
More information about the llvm-commits
mailing list