mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
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.
This commit is contained in:
parent
874ba85363
commit
4344a3cfb7
@ -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")))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user