diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-11-19 03:14:19 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-11-19 04:37:37 +0100 |
commit | 4ee6fa279954f5b03d4e2ed935de8e14b7e8b6c9 (patch) | |
tree | 5820adfe731af2a3684737d3e6e23df23744d1f1 | |
parent | 51b9acbeccf2c62be02d1312d665ea4233d60922 (diff) | |
download | emacs-4ee6fa279954f5b03d4e2ed935de8e14b7e8b6c9.tar.gz |
Declare XEmacs compat function in inversion.el obsolete
* lisp/cedet/inversion.el (inversion-require-emacs): Declare obsolete.
-rw-r--r-- | lisp/cedet/inversion.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/cedet/inversion.el b/lisp/cedet/inversion.el index d47701d5a8b..113f4056e2c 100644 --- a/lisp/cedet/inversion.el +++ b/lisp/cedet/inversion.el @@ -349,7 +349,11 @@ Optional argument RESERVED is saved for later use." ;;;###autoload (defun inversion-require-emacs (emacs-ver xemacs-ver sxemacs-ver) "Declare that you need either EMACS-VER, XEMACS-VER or SXEMACS-ver. -Only checks one based on which kind of Emacs is being run." +Only checks one based on which kind of Emacs is being run. + +This function is obsolete; do this instead: + (when (version<= \"28.1\" emacs-version) ...)" + (declare (obsolete nil "28.1")) (let ((err (inversion-test 'emacs (cond ((featurep 'sxemacs) sxemacs-ver) |