diff options
| author | Stefan Monnier | 2009-09-12 03:35:40 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-12 03:35:40 +0000 |
| commit | 5766c380eec20a19844253cbb511922b6c70fc0b (patch) | |
| tree | 39a49c35b87f18beab2f864fe6eefd1747f3da8b /src | |
| parent | d6549da4bd175e808876d8cf7303cddebb37f4e3 (diff) | |
| download | emacs-5766c380eec20a19844253cbb511922b6c70fc0b.tar.gz emacs-5766c380eec20a19844253cbb511922b6c70fc0b.zip | |
* lread.c (Fload): Don't output a message after loading an obsolete
package any more (done in Lisp now).
* subr.el (do-after-load-evaluation): Warn the user after loading an
obsolete package.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lread.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ff940d6ea8b..3d3403645b1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * lread.c (Fload): Don't output a message after loading an obsolete | ||
| 4 | package any more (done in Lisp now). | ||
| 5 | |||
| 1 | 2009-09-12 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-09-12 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * fns.c (syms_of_fns): Doc fix (Bug#4227). | 8 | * fns.c (syms_of_fns): Doc fix (Bug#4227). |
diff --git a/src/lread.c b/src/lread.c index 10bc4ad3c5e..92b1b432acd 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1307,11 +1307,6 @@ Return t if the file exists and loads successfully. */) | |||
| 1307 | message_with_string ("Loading %s...done", file, 1); | 1307 | message_with_string ("Loading %s...done", file, 1); |
| 1308 | } | 1308 | } |
| 1309 | 1309 | ||
| 1310 | if (!NILP (Fequal (build_string ("obsolete"), | ||
| 1311 | Ffile_name_nondirectory | ||
| 1312 | (Fdirectory_file_name (Ffile_name_directory (found)))))) | ||
| 1313 | message_with_string ("Package %s is obsolete", file, 1); | ||
| 1314 | |||
| 1315 | return Qt; | 1310 | return Qt; |
| 1316 | } | 1311 | } |
| 1317 | 1312 | ||