diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2020-08-14 12:45:23 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2020-08-14 13:07:26 +0200 |
commit | 4344a3cfb7a293ed17a684a2a11eb6b59b02cb2a (patch) | |
tree | 6914ee557515fef34de45e88b5f2e46d43d70960 /lisp/emacs-lisp | |
parent | 874ba85363e90a54f976af542e9b3f4c662e317e (diff) | |
download | emacs-4344a3cfb7a293ed17a684a2a11eb6b59b02cb2a.tar.gz emacs-4344a3cfb7a293ed17a684a2a11eb6b59b02cb2a.tar.bz2 emacs-4344a3cfb7a293ed17a684a2a11eb6b59b02cb2a.zip |
Make Emacs 20 compat code in derived.el obsolete
* lisp/emacs-lisp/derived.el (derived-mode-setup-function-name):
Declare obsolete. This was for compatibility with Emacs 20 or older.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/derived.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el index 3eafad177dd..6a11f1c3949 100644 --- a/lisp/emacs-lisp/derived.el +++ b/lisp/emacs-lisp/derived.el @@ -364,6 +364,7 @@ which more-or-less shadow%s %s's corresponding table%s." (defsubst derived-mode-setup-function-name (mode) "Construct a setup-function name based on a MODE name." + (declare (obsolete nil "28.1")) (intern (concat (symbol-name mode) "-setup"))) |