diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-05-06 09:57:35 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-05-06 17:16:06 +0200 |
commit | 643cc3fa144e94b33a7b8f1d4965cec7b383ed35 (patch) | |
tree | d5cba362ac4a89dce993d6d366a1d06cea1271bc /lisp/emacs-lisp | |
parent | b6f5da3240170fb9750a3304e4b8fa04fe7f2268 (diff) | |
download | emacs-643cc3fa144e94b33a7b8f1d4965cec7b383ed35.tar.gz emacs-643cc3fa144e94b33a7b8f1d4965cec7b383ed35.tar.bz2 emacs-643cc3fa144e94b33a7b8f1d4965cec7b383ed35.zip |
* Rename comp-limple-mode -> native-comp-limple-mode
* 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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index f700faa38b3..19a6d1eef9c 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -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 |