aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/obsolete/cl.el (renamed from lisp/emacs-lisp/cl.el)1
-rw-r--r--lisp/subr.el2
3 files changed, 4 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 734d5fd8a80..a078bcebfc1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -497,6 +497,8 @@ current and the previous or the next line, as before.
497 497
498* Changes in Specialized Modes and Packages in Emacs 27.1 498* Changes in Specialized Modes and Packages in Emacs 27.1
499 499
500** The 'cl' package is now officially deprecated in favor of `cl-lib`.
501
500+++ 502+++
501** winner 503** winner
502*** A new variable, 'winner-boring-buffers-regexp', has been added. 504*** A new variable, 'winner-boring-buffers-regexp', has been added.
diff --git a/lisp/emacs-lisp/cl.el b/lisp/obsolete/cl.el
index 71be1d1b492..417c757ed52 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/obsolete/cl.el
@@ -3,6 +3,7 @@
3;; Copyright (C) 2012-2019 Free Software Foundation, Inc. 3;; Copyright (C) 2012-2019 Free Software Foundation, Inc.
4 4
5;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 5;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
6;; Deprecated-since: 27.1
6;; Keywords: extensions 7;; Keywords: extensions
7 8
8;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
diff --git a/lisp/subr.el b/lisp/subr.el
index eea4e045dde..518575f6b4a 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4453,7 +4453,7 @@ This function is called directly from the C code."
4453 (package (intern (substring file 0 4453 (package (intern (substring file 0
4454 (string-match "\\.elc?\\>" file)) 4454 (string-match "\\.elc?\\>" file))
4455 obarray)) 4455 obarray))
4456 (msg (format "Package %s is obsolete" package))) 4456 (msg (format "Package %s is deprecated" package)))
4457 ;; Cribbed from cl--compiling-file. 4457 ;; Cribbed from cl--compiling-file.
4458 (when (or (not (fboundp 'byte-compile-warning-enabled-p)) 4458 (when (or (not (fboundp 'byte-compile-warning-enabled-p))
4459 (byte-compile-warning-enabled-p 'obsolete package)) 4459 (byte-compile-warning-enabled-p 'obsolete package))