aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/dynarray.h
diff options
context:
space:
mode:
authorStefan Monnier2021-03-19 18:33:38 -0400
committerStefan Monnier2021-03-19 18:33:46 -0400
commitbf210251eadafafd1bf4176127b872030405baa3 (patch)
treef684c5893c0368f47f5d16208f36fe941a936e71 /lib/malloc/dynarray.h
parent937b6c18bd6c4806eb1e4c8764db56b314c09056 (diff)
downloademacs-bf210251eadafafd1bf4176127b872030405baa3.tar.gz
emacs-bf210251eadafafd1bf4176127b872030405baa3.zip
* lisp/emacs-lisp/bytecomp.el: Remember location of unresolved calls
I've gotten tired of seeing the "function foo not known to be defined" warning without any line number information. So this patch adds as line number the position of the first use of that function in the file (well, approximately, as usual). (byte-compile-unresolved-functions): Add POSITIONs in the alist. (byte-compile-function-warn): Store the current position in `byte-compile-unresolved-functions`. (byte-compile-arglist-warn): Adjust accordingly. (byte-compile-print-syms): Delete unused function. (byte-compile-warn-about-unresolved-functions): Use the stored position to give more precise warnings.
Diffstat (limited to 'lib/malloc/dynarray.h')
0 files changed, 0 insertions, 0 deletions