comparison lisp/emacs-lisp/bytecomp.el @ 846:20674ae6bf52

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Wed, 22 Jul 1992 04:22:42 +0000
parents 5bbabfcef929
children 58d3ed08f776
comparison
equal deleted inserted replaced
845:213978acbc1e 846:20674ae6bf52
1 ;;; bytecomp.el --- compilation of Lisp code into byte code. 1 ;;; bytecomp.el --- compilation of Lisp code into byte code.
2
3 ;;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
2 4
3 ;; Author: Jamie Zawinski <jwz@lucid.com> 5 ;; Author: Jamie Zawinski <jwz@lucid.com>
4 ;; Hallvard Furuseth <hbf@ulrik.uio.no> 6 ;; Hallvard Furuseth <hbf@ulrik.uio.no>
5 ;; Last-Modified: 15 Jul 1992
6 ;; Keywords: internal 7 ;; Keywords: internal
7 8
8 ;; Subsequently modified by RMS. 9 ;; Subsequently modified by RMS.
9 10
10 (defconst byte-compile-version "FSF 2.1") 11 (defconst byte-compile-version "FSF 2.1")
11
12 ;;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
13 12
14 ;; This file is part of GNU Emacs. 13 ;; This file is part of GNU Emacs.
15 14
16 ;; GNU Emacs is free software; you can redistribute it and/or modify 15 ;; GNU Emacs is free software; you can redistribute it and/or modify
17 ;; it under the terms of the GNU General Public License as published by 16 ;; it under the terms of the GNU General Public License as published by
243 of `message.'") 242 of `message.'")
244 243
245 (defconst byte-compile-warning-types '(redefine callargs free-vars unresolved)) 244 (defconst byte-compile-warning-types '(redefine callargs free-vars unresolved))
246 (defvar byte-compile-warnings (not noninteractive) 245 (defvar byte-compile-warnings (not noninteractive)
247 "*List of warnings that the byte-compiler should issue (t for all). 246 "*List of warnings that the byte-compiler should issue (t for all).
248 Valid elements of this list are `callargs', `redefine', `free-vars', 247 Valid elements of this list are:
249 and `unresolved'.") 248 `free-vars' (references to variables not in the
249 current lexical scope)
250 `unresolved' (calls to unknown functions)
251 `callargs' (lambda calls with args that don't
252 match the lambda's definition)
253 `redefine' (function cell redefined from
254 a macro to a lambda or vice versa,
255 or redefined to take other args)
256 This variable defaults to nil in -batch mode, which is
257 slightly faster.")
250 258
251 (defvar byte-compile-generate-call-tree nil 259 (defvar byte-compile-generate-call-tree nil
252 "*Non-nil means collect call-graph information when compiling. 260 "*Non-nil means collect call-graph information when compiling.
253 This records functions were called and from where. 261 This records functions were called and from where.
254 If the value is t, compilation displays the call graph when it finishes. 262 If the value is t, compilation displays the call graph when it finishes.