Very minor bytecomp fix.
* lisp/emacs-lisp/bytecomp.el (byte-compile-report-ops): Error if not compiled with -DBYTE_CODE_METER.
This commit is contained in:
parent
13639aab35
commit
5a972c365f
2 changed files with 5 additions and 0 deletions
|
@ -4244,6 +4244,8 @@ and corresponding effects."
|
|||
|
||||
(defvar byte-code-meter)
|
||||
(defun byte-compile-report-ops ()
|
||||
(or (boundp 'byte-metering-on)
|
||||
(error "You must build Emacs with -DBYTE_CODE_METER to use this"))
|
||||
(with-output-to-temp-buffer "*Meter*"
|
||||
(set-buffer "*Meter*")
|
||||
(let ((i 0) n op off)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue