diff options
author | Glenn Morris <rgm@gnu.org> | 2010-09-08 09:02:38 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-09-08 09:02:38 -0700 |
commit | 5a972c365f4431d75bf3a8d29a938cf89ccac8db (patch) | |
tree | cba82a64e54719eb5d9a90888c1128456ac93947 /lisp/emacs-lisp/bytecomp.el | |
parent | 13639aab35819fbbe0d414e57b955d49c7affd86 (diff) | |
download | emacs-5a972c365f4431d75bf3a8d29a938cf89ccac8db.tar.gz emacs-5a972c365f4431d75bf3a8d29a938cf89ccac8db.tar.bz2 emacs-5a972c365f4431d75bf3a8d29a938cf89ccac8db.zip |
Very minor bytecomp fix.
* lisp/emacs-lisp/bytecomp.el (byte-compile-report-ops):
Error if not compiled with -DBYTE_CODE_METER.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index b1aa4a32b25..cb1deb9a762 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -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) |