]> git.eshelyaron.com Git - emacs.git/commitdiff
* Rename comp-limple-mode -> native-comp-limple-mode
authorAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 07:57:35 +0000 (09:57 +0200)
committerAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 15:16:06 +0000 (17:16 +0200)
* lisp/emacs-lisp/comp.el (comp-limple-lock-keywords): Doc update.
(native-comp-limple-mode, comp-log-to-buffer): Rename comp-limple-mode
-> native-comp-limple-mode.

lisp/emacs-lisp/comp.el

index f700faa38b3c60197b472e799a5ce1ed19e2b8a6..19a6d1eef9c2c3a83d478aa9e5e55a946f6eb03c 100644 (file)
@@ -1028,9 +1028,9 @@ Assume allocation class 'd-default as default."
     (,(rx-to-string
        `(seq "(" (group-n 1 (or ,@(mapcar #'symbol-name comp-limple-ops)))))
      (1 font-lock-keyword-face)))
-  "Highlights used by `comp-limple-mode'.")
+  "Highlights used by `native-comp-limple-mode'.")
 
-(define-derived-mode comp-limple-mode fundamental-mode "LIMPLE"
+(define-derived-mode native-comp-limple-mode fundamental-mode "LIMPLE"
   "Syntax-highlight LIMPLE IR."
   (setf font-lock-defaults '(comp-limple-lock-keywords)))
 
@@ -1059,8 +1059,8 @@ with `message'.  Otherwise, log with `comp-log-to-buffer'."
          (inhibit-read-only t)
          at-end-p)
     (with-current-buffer log-buffer
-      (unless (eq major-mode 'comp-limple-mode)
-        (comp-limple-mode))
+      (unless (eq major-mode 'native-comp-limple-mode)
+        (native-comp-limple-mode))
       (when (= (point) (point-max))
         (setf at-end-p t))
       (save-excursion