[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1d8b5bc: Move cl.el to lisp/obsolete
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 1d8b5bc: Move cl.el to lisp/obsolete |
Date: |
Tue, 6 Aug 2019 04:01:55 -0400 (EDT) |
branch: master
commit 1d8b5bc8dd543ada2f3c46436e43ea27faa3cd0e
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
Move cl.el to lisp/obsolete
* lisp/emacs-lisp/cl.el: Move from here...
* lisp/obsolete/cl.el: ...to here.
* lisp/subr.el (do-after-load-evaluation): Use "deprecated" in the
message when loading packages from lisp/obsolete.
---
etc/NEWS | 2 ++
lisp/{emacs-lisp => obsolete}/cl.el | 1 +
lisp/subr.el | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index 734d5fd..a078bce 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -497,6 +497,8 @@ current and the previous or the next line, as before.
* Changes in Specialized Modes and Packages in Emacs 27.1
+** The 'cl' package is now officially deprecated in favor of `cl-lib`.
+
+++
** winner
*** A new variable, 'winner-boring-buffers-regexp', has been added.
diff --git a/lisp/emacs-lisp/cl.el b/lisp/obsolete/cl.el
similarity index 99%
rename from lisp/emacs-lisp/cl.el
rename to lisp/obsolete/cl.el
index 71be1d1..417c757 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/obsolete/cl.el
@@ -3,6 +3,7 @@
;; Copyright (C) 2012-2019 Free Software Foundation, Inc.
;; Author: Stefan Monnier <address@hidden>
+;; Deprecated-since: 27.1
;; Keywords: extensions
;; This file is part of GNU Emacs.
diff --git a/lisp/subr.el b/lisp/subr.el
index eea4e04..518575f 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4453,7 +4453,7 @@ This function is called directly from the C code."
(package (intern (substring file 0
(string-match "\\.elc?\\>" file))
obarray))
- (msg (format "Package %s is obsolete" package)))
+ (msg (format "Package %s is deprecated" package)))
;; Cribbed from cl--compiling-file.
(when (or (not (fboundp 'byte-compile-warning-enabled-p))
(byte-compile-warning-enabled-p 'obsolete package))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1d8b5bc: Move cl.el to lisp/obsolete,
Stefan Monnier <=