aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2014-11-08 13:32:10 -0800
committerGlenn Morris2014-11-08 13:32:10 -0800
commit089c6aab18ea8986bfc02ef3e65500b589e7afbe (patch)
treee9eb9948f92edb14d493aac970e5f82dc8ac306d /lisp
parente7e61abaa9de9a7e8485d1fc52a5aa6ce112620e (diff)
parent7d8205619a95e44ec5c4d589c538c6616e64483b (diff)
downloademacs-089c6aab18ea8986bfc02ef3e65500b589e7afbe.tar.gz
emacs-089c6aab18ea8986bfc02ef3e65500b589e7afbe.zip
Merge from emacs-24; up to 117689
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/bytecomp.el7
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 @@
12014-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
12014-11-08 Michael Albinus <michael.albinus@gmx.de> 72014-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.
1169ERROR-INFO is the error data, in the form of either (ERROR-SYMBOL . DATA)
1170or 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