diff options
| author | Joakim Verona | 2012-12-14 22:37:19 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-14 22:37:19 +0100 |
| commit | a942ead68d99d6b76f579e1c7b6bd4838b584110 (patch) | |
| tree | 224cc5236209c86db3b8aa30f3dbec7c0aa56eb9 | |
| parent | 0872f5e617a91c213e0218affdefaeac93a970f9 (diff) | |
| parent | a5f74442196408f91cab24147b6322b3355b728d (diff) | |
| download | emacs-a942ead68d99d6b76f579e1c7b6bd4838b584110.tar.gz emacs-a942ead68d99d6b76f579e1c7b6bd4838b584110.zip | |
auto upstream
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/macroexp.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 15cdb5cb879..0517a66916f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/macroexp.el (macroexp--warn-and-return): | ||
| 4 | Try to include filename in non-bytecomp warning. (Bug#13132) | ||
| 5 | |||
| 1 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Fix permissions bugs with setgid directories etc. (Bug#13125) | 8 | Fix permissions bugs with setgid directories etc. (Bug#13125) |
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el index 2a3730745c6..7a1a21f505b 100644 --- a/lisp/emacs-lisp/macroexp.el +++ b/lisp/emacs-lisp/macroexp.el | |||
| @@ -124,7 +124,10 @@ and also to avoid outputting the warning during normal execution." | |||
| 124 | (macroexp--funcall-if-compiled ',when-compiled) | 124 | (macroexp--funcall-if-compiled ',when-compiled) |
| 125 | ,form)) | 125 | ,form)) |
| 126 | (t | 126 | (t |
| 127 | (message "%s" msg) | 127 | (message "%s%s" (if (stringp load-file-name) |
| 128 | (concat (file-relative-name load-file-name) ": ") | ||
| 129 | "") | ||
| 130 | msg) | ||
| 128 | form)))) | 131 | form)))) |
| 129 | 132 | ||
| 130 | (defun macroexp--obsolete-warning (fun obsolescence-data type) | 133 | (defun macroexp--obsolete-warning (fun obsolescence-data type) |