Mercurial > emacs
diff lisp/emacs-lisp/bytecomp.el @ 110268:b2cc1d56be0f
Very minor bytecomp fix.
* lisp/emacs-lisp/bytecomp.el (byte-compile-report-ops):
Error if not compiled with -DBYTE_CODE_METER.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 08 Sep 2010 09:02:38 -0700 |
parents | bd6932be9441 |
children | 6388b1d1793a |
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el Wed Sep 08 08:59:10 2010 -0700 +++ b/lisp/emacs-lisp/bytecomp.el Wed Sep 08 09:02:38 2010 -0700 @@ -4244,6 +4244,8 @@ (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)