]> git.eshelyaron.com Git - emacs.git/commit
Use new `derived-mode-all/set-parents` functions.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 9 Nov 2023 03:53:39 +0000 (22:53 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 9 Nov 2023 04:24:35 +0000 (23:24 -0500)
commit492920dd5b469e18596a49a62fbefd8ad2cc518b
tree7e66751fee3accc535621f16d7bdc988c436fdce
parent9c6b22bb3e2126a1ab355b81ae4268ac53c2b6fe
Use new `derived-mode-all/set-parents` functions.

Try and avoid using the `derived-mode-parent` property directly
and use the new API functions instead.

* lisp/emacs-lisp/derived.el (define-derived-mode):
Use `derived-mode-set-parent`.

* lisp/loadhist.el (unload--set-major-mode):
* lisp/info-look.el (info-lookup-select-mode):
* lisp/ibuf-ext.el (ibuffer-list-buffer-modes):
* lisp/files.el (dir-locals--get-sort-score):
* lisp/emacs-lisp/cl-generic.el (cl--generic-derived-specializers):
Use `derived-mode-all-parents`.
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/derived.el
lisp/files.el
lisp/help-fns.el
lisp/ibuf-ext.el
lisp/info-look.el
lisp/loadhist.el
lisp/so-long.el