emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Warning about the use of obsolete packages


From: Stefan Monnier
Subject: Warning about the use of obsolete packages
Date: Tue, 13 May 2003 18:17:33 -0400

How about the patch below to Fload (in lread.c) ?


        Stefan


@@ -941,6 +941,11 @@
        message_with_string ("Loading %s...done", file, 1);
     }
 
+  if (!NILP (Fequal (build_string ("obsolete"),
+                    Ffile_name_nondirectory
+                    (Fdirectory_file_name (Ffile_name_directory (found))))))
+    message_with_string ("Package %s is obsolete", file, 1);
+
   return Qt;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]