diff options
| author | Glenn Morris | 2014-11-08 13:32:10 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-11-08 13:32:10 -0800 |
| commit | 089c6aab18ea8986bfc02ef3e65500b589e7afbe (patch) | |
| tree | e9eb9948f92edb14d493aac970e5f82dc8ac306d /lisp | |
| parent | e7e61abaa9de9a7e8485d1fc52a5aa6ce112620e (diff) | |
| parent | 7d8205619a95e44ec5c4d589c538c6616e64483b (diff) | |
| download | emacs-089c6aab18ea8986bfc02ef3e65500b589e7afbe.tar.gz emacs-089c6aab18ea8986bfc02ef3e65500b589e7afbe.zip | |
Merge from emacs-24; up to 117689
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ab12e064aaa..0b0192a545d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-report-error): | ||
| 4 | Allow the argument to be a string. Due to the vague doc, | ||
| 5 | it was already being used this way. | ||
| 6 | |||
| 1 | 2014-11-08 Michael Albinus <michael.albinus@gmx.de> | 7 | 2014-11-08 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * net/tramp.el (tramp-check-cached-permissions): Include hop in | 9 | * net/tramp.el (tramp-check-cached-permissions): Include hop in |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 7fd72dd7705..fdb8cc8f39d 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1165,10 +1165,13 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'." | |||
| 1165 | (byte-compile-warn "%s" msg))))) | 1165 | (byte-compile-warn "%s" msg))))) |
| 1166 | 1166 | ||
| 1167 | (defun byte-compile-report-error (error-info) | 1167 | (defun byte-compile-report-error (error-info) |
| 1168 | "Report Lisp error in compilation. ERROR-INFO is the error data." | 1168 | "Report Lisp error in compilation. |
| 1169 | ERROR-INFO is the error data, in the form of either (ERROR-SYMBOL . DATA) | ||
| 1170 | or STRING." | ||
| 1169 | (setq byte-compiler-error-flag t) | 1171 | (setq byte-compiler-error-flag t) |
| 1170 | (byte-compile-log-warning | 1172 | (byte-compile-log-warning |
| 1171 | (error-message-string error-info) | 1173 | (if (stringp error-info) error-info |
| 1174 | (error-message-string error-info)) | ||
| 1172 | nil :error)) | 1175 | nil :error)) |
| 1173 | 1176 | ||
| 1174 | ;;; sanity-checking arglists | 1177 | ;;; sanity-checking arglists |