Commit 7d820561 authored by Glenn Morris's avatar Glenn Morris
Browse files

* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.

Due to the vague doc, it was already being used this way.
parent d244e9bf
2014-11-08 Glenn Morris <rgm@gnu.org>
* emacs-lisp/bytecomp.el (byte-compile-report-error):
Allow the argument to be a string. Due to the vague doc,
it was already being used this way.
2014-11-07 Michael Albinus <michael.albinus@gmx.de> 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
   
* net/tramp.el (tramp-check-cached-permissions): Include hop in * net/tramp.el (tramp-check-cached-permissions): Include hop in
......
...@@ -1147,10 +1147,13 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'." ...@@ -1147,10 +1147,13 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
(byte-compile-warn "%s" msg))))) (byte-compile-warn "%s" msg)))))
(defun byte-compile-report-error (error-info) (defun byte-compile-report-error (error-info)
"Report Lisp error in compilation. ERROR-INFO is the error data." "Report Lisp error in compilation.
ERROR-INFO is the error data, in the form of either (ERROR-SYMBOL . DATA)
or STRING."
(setq byte-compiler-error-flag t) (setq byte-compiler-error-flag t)
(byte-compile-log-warning (byte-compile-log-warning
(error-message-string error-info) (if (stringp error-info) error-info
(error-message-string error-info))
nil :error)) nil :error))
;;; sanity-checking arglists ;;; sanity-checking arglists
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment