]> code.delx.au - gnu-emacs/blobdiff - lisp/derived.el
Fix last change.
[gnu-emacs] / lisp / derived.el
index 2aa97b9d588ca27df6f5530e65b22bad968f6c1d..ee3b917b5d7f840b8daeacbaacaf73bca4f665e2 100644 (file)
 \f
 ;;; Commentary:
 
+;; Obsolete.
+;; Use the `derived-major-mode' provided by easy-mmode.el instead.
+;; It is only kept for backward compatibility with byte-compiled files
+;; which refer to `derived-mode-init-mode-variables' and other functions.
+
+
+
 ;; GNU Emacs is already, in a sense, object oriented -- each object
 ;; (buffer) belongs to a class (major mode), and that class defines
 ;; the relationship between messages (input events) and methods
 
 ;; PUBLIC: define a new major mode which inherits from an existing one.
 
-;;;###autoload
+;; ;;;###autoload
 (defmacro define-derived-mode (child parent name &optional docstring &rest body)
   "Create a new mode as a variant of an existing mode.