summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2016-09-03 20:37:47 +0200
committerPhilipp Stephani <phst@google.com>2016-09-11 18:12:33 +0200
commit7edaa77c5e1c0284aac4ce2dc0254d22ae6e49af (patch)
tree56c3e91df1ae23425e8eb6d3833ace680fdc868a /lisp/emacs-lisp/trace.el
parent5fd1f7f931163ddf04f0ba0c362840fc91fba54a (diff)
downloademacs-7edaa77c5e1c0284aac4ce2dc0254d22ae6e49af.tar.gz
emacs-7edaa77c5e1c0284aac4ce2dc0254d22ae6e49af.tar.bz2
emacs-7edaa77c5e1c0284aac4ce2dc0254d22ae6e49af.zip
Stop calling ‘byte-compile-log-warning’
For errors, use ‘byte-compile-report-error’ instead so that the error is registered and causes compilation to fail (Bug#24359). For warnings, use ‘byte-compile-warn’ instead so that ‘byte-compile-error-on-warn’ is honored (Bug#24360). * lisp/emacs-lisp/macroexp.el (macroexp--funcall-if-compiled) (macroexp--warn-and-return): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/emacs-lisp/bytecomp.el (byte-compile-form, byte-compile-unfold-bcf) (byte-compile-setq, byte-compile-funcall): Use ‘byte-compile-report-error’ instead of ‘byte-compile-log-warning’. (byte-compile-log-warning): Convert comment to documentation string. Explain that the function shouldn’t be called directly. (byte-compile-report-error): Add optional FILL argument. * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use) (cconv--analyze-function, cconv-analyze-form): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’. * lisp/subr.el (add-to-list): Use ‘byte-compile-report-error’ instead of ‘byte-compile-log-warning’. (do-after-load-evaluation): Use ‘byte-compile-warn’ instead of ‘byte-compile-log-warning’.
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
0 files changed, 0 insertions, 0 deletions