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:
Glenn Morris 2010-09-08 09:02:38 -07:00
parent 13639aab35
commit 5a972c365f
2 changed files with 5 additions and 0 deletions

View file

@ -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)